diff options
author | Eric Christopher <echristo@gmail.com> | 2013-12-10 00:40:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-12-10 00:40:03 +0000 |
commit | 06e68434a5fdc33de8a4b704f63c89a45eb2d699 (patch) | |
tree | 6f13d81267e40ea8695b70e58a6edd502de9026a /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | b6c1f7e9f000d356886eb65fc43979664bff9c4a (diff) | |
download | llvm-06e68434a5fdc33de8a4b704f63c89a45eb2d699.tar.gz llvm-06e68434a5fdc33de8a4b704f63c89a45eb2d699.tar.bz2 llvm-06e68434a5fdc33de8a4b704f63c89a45eb2d699.tar.xz |
Disable emitting DW_AT_GNU_ranges_base until we actually use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index a036a4d6f2..27348a4b9b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2943,6 +2943,7 @@ void DwarfDebug::emitDebugRanges() { // This DIE has the following attributes: DW_AT_comp_dir, DW_AT_stmt_list, // DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges, DW_AT_dwo_name, DW_AT_dwo_id, // DW_AT_ranges_base, DW_AT_addr_base. +// TODO: Implement DW_AT_ranges_base. DwarfCompileUnit *DwarfDebug::constructSkeletonCU(const DwarfCompileUnit *CU) { DIE *Die = new DIE(dwarf::DW_TAG_compile_unit); @@ -2979,12 +2980,6 @@ DwarfCompileUnit *DwarfDebug::constructSkeletonCU(const DwarfCompileUnit *CU) { addGnuPubAttributes(NewCU, Die); - // Attribute if we've emitted any ranges and their location for the compile - // unit. - if (!CU->getRangeLists().empty()) - addSectionLabel(Asm, NewCU, Die, dwarf::DW_AT_GNU_ranges_base, - NewCU->getLabelRange(), DwarfDebugRangeSectionSym); - SkeletonHolder.addUnit(NewCU); return NewCU; |