diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-29 18:40:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-29 18:40:58 +0000 |
commit | 5ccdd10b1a0ee1ce35b6e5a18eb0fcfd6f5131d3 (patch) | |
tree | a8b8f8f8ef75c6473e5b19d7f4f8b955af86052a /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 1e9a727f1058c9e8f90eae9ac656214265244f7f (diff) |
Remove std::string uses from DebugInfo interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83083 91177308-0d34-0410-b5e6-96231b3b80d8
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 6c5d453991..ff16f22d81 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) |