mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
mcstreamerize .file and .file. This also fixes an issue where the
normal form of .file would fail if the filename had a weird character in it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94437 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1779,8 +1779,7 @@ void DwarfDebug::beginModule(Module *M, MachineModuleInfo *mmi) {
|
||||
FullPath.appendComponent(getSourceFileName(Id.second));
|
||||
assert(AppendOk && "Could not append filename to directory!");
|
||||
AppendOk = false;
|
||||
Asm->EmitFile(i, FullPath.str());
|
||||
Asm->O << '\n';
|
||||
Asm->OutStreamer.EmitDwarfFileDirective(i, FullPath.str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user