Remove duplicate set of CompilationDir.
authorEric Christopher <echristo@gmail.com>
Mon, 26 Aug 2013 23:50:40 +0000 (23:50 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 26 Aug 2013 23:50:40 +0000 (23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189292 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 6d1f5af22ed715f1deabc8e18ee189a8d4129241..b2d85f369f6de8cf1a518138b2e09b5caf5708af 100644 (file)
@@ -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 =