diff options
Diffstat (limited to 'tools/llvm-ld/llvm-ld.cpp')
-rw-r--r-- | tools/llvm-ld/llvm-ld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index 8bd2cc8376..ae64d57484 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/tools/llvm-ld/llvm-ld.cpp @@ -527,11 +527,11 @@ int main(int argc, char **argv, char **envp) { } // Make the script executable... - MakeFileExecutable(OutputFilename); + sys::Path(OutputFilename).makeExecutable(); // Make the bytecode file readable and directly executable in LLEE as well - MakeFileExecutable(RealBytecodeOutput); - MakeFileReadable(RealBytecodeOutput); + sys::Path(RealBytecodeOutput).makeExecutable(); + sys::Path(RealBytecodeOutput).makeReadable(); } return 0; |