projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve DWARFDebugFrame::parse to also handle __eh_frame.
[oota-llvm.git]
/
include
/
llvm
/
DebugInfo
/
DWARF
/
DWARFDebugFrame.h
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
index be925cbe7519540fb200fb18336eebecd98af78f..cd76c909ddaef873bfee6fb10704f07f1bd83f66 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
@@
-19,11
+19,13
@@
namespace llvm {
class FrameEntry;
class FrameEntry;
-/// \brief A parsed .debug_frame section
+/// \brief A parsed .debug_frame
or .eh_frame
section
///
class DWARFDebugFrame {
///
class DWARFDebugFrame {
+ // True if this is parsing an eh_frame section.
+ bool IsEH;
public:
public:
- DWARFDebugFrame();
+ DWARFDebugFrame(
bool IsEH
);
~DWARFDebugFrame();
/// \brief Dump the section data into the given stream.
~DWARFDebugFrame();
/// \brief Dump the section data into the given stream.