[llvm] r230548 - DWARFDebugFrame: Add some trivial accessors. NFC.
Frederic Riss
friss at apple.com
Wed Feb 25 13:30:14 PST 2015
Author: friss
Date: Wed Feb 25 15:30:13 2015
New Revision: 230548
URL: http://llvm.org/viewvc/llvm-project?rev=230548&view=rev
Log:
DWARFDebugFrame: Add some trivial accessors. NFC.
To be used for dumping.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp?rev=230548&r1=230547&r2=230548&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp Wed Feb 25 15:30:13 2015
@@ -210,6 +210,9 @@ public:
~CIE() {
}
+ uint64_t getCodeAlignmentFactor() const { return CodeAlignmentFactor; }
+ int64_t getDataAlignmentFactor() const { return DataAlignmentFactor; }
+
void dumpHeader(raw_ostream &OS) const override {
OS << format("%08x %08x %08x CIE",
(uint32_t)Offset, (uint32_t)Length, DW_CIE_ID)
@@ -255,6 +258,8 @@ public:
~FDE() {
}
+ CIE *getLinkedCIE() const { return LinkedCIE; }
+
void dumpHeader(raw_ostream &OS) const override {
OS << format("%08x %08x %08x FDE ",
(uint32_t)Offset, (uint32_t)Length, (int32_t)LinkedCIEOffset);
More information about the llvm-commits
mailing list