1 //===-- DWARFDebugFrame.h - Parsing of .debug_frame -------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_DWARFDEBUGFRAME_H
11 #define LLVM_DEBUGINFO_DWARFDEBUGFRAME_H
13 #include "llvm/Support/DataExtractor.h"
14 #include "llvm/Support/raw_ostream.h"
23 /// \brief A parsed .debug_frame section
25 class DWARFDebugFrame {
30 /// \brief Dump the section data into the given stream.
31 void dump(raw_ostream &OS) const;
33 /// \brief Parse the section from raw data.
34 /// data is assumed to be pointing to the beginning of the section.
35 void parse(DataExtractor Data);
38 typedef std::vector<FrameEntry *> EntryVector;