diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 6c5d453..ff16f22 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1750,9 +1750,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const { O.PadToColumn(MAI->getCommentColumn()); O << MAI->getCommentString() << " SrcLine "; if (DLT.CompileUnit) { - std::string Str; DICompileUnit CU(DLT.CompileUnit); - O << CU.getFilename(Str) << " "; + O << CU.getFilename() << " "; } O << DLT.Line; if (DLT.Col != 0) |