From: Eric Christopher Date: Mon, 26 Aug 2013 23:50:40 +0000 (+0000) Subject: Remove duplicate set of CompilationDir. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4c65ab79a7bc1c7121fcba738464266dd8efd053;p=oota-llvm.git Remove duplicate set of CompilationDir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189292 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6d1f5af22ed..b2d85f369f6 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2687,7 +2687,6 @@ void DwarfDebug::emitDebugInlineInfo() { // DW_AT_low_pc and DW_AT_high_pc are not used, and vice versa. CompileUnit *DwarfDebug::constructSkeletonCU(const MDNode *N) { DICompileUnit DIUnit(N); - CompilationDir = DIUnit.getDirectory(); DIE *Die = new DIE(dwarf::DW_TAG_compile_unit); CompileUnit *NewCU =