diff options
| author | Frederic Riss <friss@apple.com> | 2015-02-25 21:30:13 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2015-02-25 21:30:13 +0000 |
| commit | 41bb2c6d4fcb2c3cb81c23afd5cc0a5c00f71b58 (patch) | |
| tree | e6c8de5b2f31eaa97c263e05fee5c4b3db63ed1b /llvm/lib/DebugInfo/DWARF | |
| parent | baf195f7eb2a199edf54478709c0323b1b8394e2 (diff) | |
| download | bcm5719-llvm-41bb2c6d4fcb2c3cb81c23afd5cc0a5c00f71b58.tar.gz bcm5719-llvm-41bb2c6d4fcb2c3cb81c23afd5cc0a5c00f71b58.zip | |
DWARFDebugFrame: Add some trivial accessors. NFC.
To be used for dumping.
llvm-svn: 230548
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index b757fb0308a..64f844b6f62 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -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); |

