diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-12-14 22:34:03 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-12-14 22:34:03 +0000 |
commit | 61c127c1ad9f7e415e00e449d8f52af54896c007 (patch) | |
tree | f4b59c96fffdc82ca45b0040e9e066ea97ab4eab /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 26d994f56ed4a5b8ba4b8851334090242b06edd7 (diff) | |
download | bcm5719-llvm-61c127c1ad9f7e415e00e449d8f52af54896c007.tar.gz bcm5719-llvm-61c127c1ad9f7e415e00e449d8f52af54896c007.zip |
DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit
Only CUs need an address table reference.
llvm-svn: 349203
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 13679c37fe5..6e9490702c8 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -243,6 +243,9 @@ public: void emitHeader(bool UseOffsets) override; + /// Add the DW_AT_addr_base attribute to the unit DIE. + void addAddrTableBase(); + MCSymbol *getLabelBegin() const { assert(getSection()); return LabelBegin; |