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 | b296942f6d151225353a672bb235a599e14de2cc (patch) | |
tree | a4ef9834c8e0a8344c391f716a9cc9ff00dc06fc /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 73e8d435885066e7dc1f9d543e567b556cd0fc69 (diff) | |
download | bcm5719-llvm-b296942f6d151225353a672bb235a599e14de2cc.tar.gz bcm5719-llvm-b296942f6d151225353a672bb235a599e14de2cc.zip |
Remove std::string uses from DebugInfo interface.
llvm-svn: 83083
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index ae6f3f5d5f6..3d1c22159a5 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -1041,9 +1041,8 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const { const MachineFunction *MF = getParent()->getParent(); DebugLocTuple DLT = MF->getDebugLocTuple(debugLoc); DICompileUnit CU(DLT.CompileUnit); - std::string Dir, Fn; OS << " [dbg: " - << CU.getDirectory(Dir) << '/' << CU.getFilename(Fn) << "," + << CU.getDirectory() << '/' << CU.getFilename() << "," << DLT.Line << "," << DLT.Col << "]"; } |