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/DwarfUnit.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/DwarfUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 93dd67452bb..4210a55459d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -2092,5 +2092,4 @@ void DwarfTypeUnit::initSection(const MCSection *Section) { Asm->GetTempSymbol(Section->getLabelBeginName(), getUniqueID()); this->LabelEnd = Asm->GetTempSymbol(Section->getLabelEndName(), getUniqueID()); - this->LabelRange = Asm->GetTempSymbol("gnu_ranges", getUniqueID()); } |