Make the bytecode file executable as well for LLEE purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7992 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index ef3d2ae..93f0e29 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -440,6 +440,9 @@
// 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;