diff options
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r-- | tools/gccld/gccld.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 7a4dec329a..2ae13aa7d4 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -313,9 +313,9 @@ int main(int argc, char **argv, char **envp ) { if (!SaveTemps) { // Remove the assembly language file. - AssemblyFile.destroy(); + AssemblyFile.eraseFromDisk(); // Remove the bytecode language file. - sys::Path(RealBytecodeOutput).destroy(); + sys::Path(RealBytecodeOutput).eraseFromDisk(); } } else if (NativeCBE) { @@ -345,21 +345,21 @@ int main(int argc, char **argv, char **envp ) { if (!SaveTemps) { // Remove the assembly language file. - CFile.destroy(); + CFile.eraseFromDisk(); // Remove the bytecode language file. - sys::Path(RealBytecodeOutput).destroy(); + sys::Path(RealBytecodeOutput).eraseFromDisk(); } } else if (!LinkAsLibrary) { EmitShellScript(argv); // Make the bytecode file readable and directly executable in LLEE - sys::Path(RealBytecodeOutput).makeExecutable(); - sys::Path(RealBytecodeOutput).makeReadable(); + sys::Path(RealBytecodeOutput).makeExecutableOnDisk(); + sys::Path(RealBytecodeOutput).makeReadableOnDisk(); } // Make the output, whether native or script, executable as well... - sys::Path(OutputFilename).makeExecutable(); + sys::Path(OutputFilename).makeExecutableOnDisk(); } catch (const char*msg) { std::cerr << argv[0] << ": " << msg << "\n"; |