diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-28 23:36:52 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-28 23:36:52 +0000 |
commit | 6ada8e332b07cd20c8de455d25378eb299daeb44 (patch) | |
tree | 8ad2b0b79ef7087cf87faf614c34739a9a4ed59e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 4141a3bca859c0eb770fe6e20786667d14495744 (diff) | |
download | bcm5719-llvm-6ada8e332b07cd20c8de455d25378eb299daeb44.tar.gz bcm5719-llvm-6ada8e332b07cd20c8de455d25378eb299daeb44.zip |
Remove DwarfUnit::LabelRange since it's unused.
Seems at some point the intent was to emit fission ranges_base as unique
per CU but the code today emits ranges_base as the start of the ranges
section for all CUs being compiled and all the ranges_base relative
addresses are relative to that. So removing this dead code and leaving
the status quo until there's a reason to change it (perhaps something's
faster if it has distinct ranges for each CU).
llvm-svn: 207464
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index fcb8ee1fb70..01012071fe1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2355,9 +2355,6 @@ void DwarfDebug::emitDebugRanges() { for (const auto &I : CUMap) { DwarfCompileUnit *TheCU = I.second; - // Emit a symbol so we can find the beginning of our ranges. - Asm->OutStreamer.EmitLabel(TheCU->getLabelRange()); - // Iterate over the misc ranges for the compile units in the module. for (const RangeSpanList &List : TheCU->getRangeLists()) { // Emit our symbol so we can find the beginning of the range. |