summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-10-24 22:00:44 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-10-24 22:00:44 +0000
commit68642d31189b4165000cf9571c51ca15f8cdaf4f (patch)
tree4c55b204308bdaf2aa5f977ef0a543de1b103f77 /llvm/lib/CodeGen/AsmPrinter
parente34116750fbb147ecd579a75855d8cf1114cf2f8 (diff)
downloadbcm5719-llvm-68642d31189b4165000cf9571c51ca15f8cdaf4f.tar.gz
bcm5719-llvm-68642d31189b4165000cf9571c51ca15f8cdaf4f.zip
DWARF emission: Remove unnecessary/redundant DIE reference code
The default case at the end of the switch handles this just fine. llvm-svn: 193374
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index e0b5557ffcc..dd2bcf2daed 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2050,13 +2050,6 @@ void DwarfDebug::emitDIE(DIE *Die, std::vector<DIEAbbrev *> *Abbrevs) {
Asm->OutStreamer.AddComment(dwarf::AttributeString(Attr));
switch (Attr) {
- case dwarf::DW_AT_abstract_origin: {
- DIEEntry *E = cast<DIEEntry>(Values[i]);
- DIE *Origin = E->getEntry();
- unsigned Addr = Origin->getOffset();
- Asm->EmitInt32(Addr);
- break;
- }
case dwarf::DW_AT_ranges: {
// DW_AT_range Value encodes offset in debug_range section.
DIEInteger *V = cast<DIEInteger>(Values[i]);
OpenPOWER on IntegriCloud