DebugInfo: Don't include the name of the CU file in the line table file list when...
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.cpp
index de2f4c6e02aa490b44417a53311a9568f4d54c37..4d0eb445d34b14c02109db93a96825d77156a185 100644 (file)
@@ -756,9 +756,6 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) {
   InfoHolder.addUnit(NewCU);
 
   FileIDCUMap[NewCU->getUniqueID()] = 0;
-  // Call this to emit a .file directive if it wasn't emitted for the source
-  // file this CU comes from yet.
-  getOrCreateSourceID(FN, CompilationDir, NewCU->getUniqueID());
 
   NewCU->addString(Die, dwarf::DW_AT_producer, DIUnit.getProducer());
   NewCU->addUInt(Die, dwarf::DW_AT_language, dwarf::DW_FORM_data2,