diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 20:03:02 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 20:03:02 +0000 |
commit | 319cdeccd16a6e1da087ff654e6fb7060b07fe55 (patch) | |
tree | ab780f413135896ff55ec2a1dc842d9e68f45574 /tools/llvm-ld | |
parent | de97b5788c7843cadab04fb884d5c532b17a093b (diff) | |
download | external_llvm-319cdeccd16a6e1da087ff654e6fb7060b07fe55.zip external_llvm-319cdeccd16a6e1da087ff654e6fb7060b07fe55.tar.gz external_llvm-319cdeccd16a6e1da087ff654e6fb7060b07fe55.tar.bz2 |
For PR351:
Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with
sys::Path::makeReadable and sys::Path:makeExecutable, respectively.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-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 8bd2cc8..ae64d57 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; |