mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 17:25:49 +00:00
Fix a bug introduced during the transition to PathV2.
sys::fs::createUniqueFile returns an absolute path, so MakeSharedObject does too and we don't need to add a './' prefix. Patch by Jon McLachlan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -404,7 +404,7 @@ std::string BugDriver::compileSharedObject(const std::string &BitcodeFile,
|
|||||||
// Remove the intermediate C file
|
// Remove the intermediate C file
|
||||||
sys::fs::remove(OutputFile);
|
sys::fs::remove(OutputFile);
|
||||||
|
|
||||||
return "./" + SharedObjectFile;
|
return SharedObjectFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// createReferenceFile - calls compileProgram and then records the output
|
/// createReferenceFile - calls compileProgram and then records the output
|
||||||
|
Reference in New Issue
Block a user