mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
Remove std::string uses from DebugInfo interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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 << "]";
|
||||
}
|
||||
|
Reference in New Issue
Block a user