mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
DWARFDebugFrame: Add some trivial accessors. NFC.
To be used for dumping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
257e6ed528
commit
174e6654f6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user