OSDN Git Service

Make the bytecode file executable as well for LLEE purposes.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 20 Aug 2003 20:38:15 +0000 (20:38 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 20 Aug 2003 20:38:15 +0000 (20:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7992 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/gccld.cpp

index ef3d2ae..93f0e29 100644 (file)
@@ -440,6 +440,9 @@ int main(int argc, char **argv) {
   
     // Make the script executable...
     chmod(OutputFilename.c_str(), 0755);
+
+    // Make the bytecode file directly executable in LLEE as well
+    chmod(RealBytecodeOutput.c_str(), 0755);
   }
 
   return 0;