mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Fix the build on PowerPC/Darwin - it thought we were declaring a new
function or something. Since FileRemover takes a const reference to sys::Path, we need to pass an actual sys::Path variable. llvm-svn: 19111
This commit is contained in:
parent
b77918ae87
commit
a0e66891ae
@ -195,7 +195,8 @@ std::string BugDriver::executeProgram(std::string OutputFile,
|
||||
}
|
||||
|
||||
// Remove the temporary bytecode file when we are done.
|
||||
FileRemover BytecodeFileRemover(sys::Path(BytecodeFile), CreatedBytecode);
|
||||
sys::Path BytecodePath (BytecodeFile);
|
||||
FileRemover BytecodeFileRemover(BytecodePath, CreatedBytecode);
|
||||
|
||||
if (OutputFile.empty()) OutputFile = "bugpoint-execution-output";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user