diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 7b413519f30..2559120edaa 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -409,8 +409,6 @@ DwarfDebug::constructInlinedScopeDIE(DwarfCompileUnit &TheCU, attachRangesOrLowHighPC(TheCU, *ScopeDIE, Scope->getRanges()); - InlinedSubprogramDIEs.insert(OriginDIE); - // Add the call site information to the DIE. DILocation DL(Scope->getInlinedAt()); TheCU.addUInt(*ScopeDIE, dwarf::DW_AT_call_file, None, diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 70702736e6e..f25825c678f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -215,10 +215,6 @@ class DwarfDebug : public AsmPrinterHandler { // can refer to them in spite of insertions into this list. SmallVector DotDebugLocEntries; - // Collection of subprogram DIEs that are marked (at the end of the module) - // as DW_AT_inline. - SmallPtrSet InlinedSubprogramDIEs; - // This is a collection of subprogram MDNodes that are processed to // create DIEs. SmallPtrSet ProcessedSPNodes;