Title: [170020] trunk/Source/_javascript_Core
Revision
170020
Author
[email protected]
Date
2014-06-16 12:26:05 -0700 (Mon, 16 Jun 2014)

Log Message

Fix the arguments passed to the LLVM dylib
https://bugs.webkit.org/show_bug.cgi?id=133757

Patch by Juergen Ributzka <[email protected]> on 2014-06-16
Reviewed by Geoffrey Garen.

The LLVM command line argument parser assumes that the first argument
is the program name. We need to add a fake program name, otherwise the
first argument will be parsed as program name and ignored.

* llvm/library/LLVMExports.cpp:
(initializeAndGetJSCLLVMAPI):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (170019 => 170020)


--- trunk/Source/_javascript_Core/ChangeLog	2014-06-16 19:04:55 UTC (rev 170019)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-06-16 19:26:05 UTC (rev 170020)
@@ -1,3 +1,17 @@
+2014-06-16  Juergen Ributzka  <[email protected]>
+
+        Fix the arguments passed to the LLVM dylib
+        https://bugs.webkit.org/show_bug.cgi?id=133757
+
+        Reviewed by Geoffrey Garen.
+
+        The LLVM command line argument parser assumes that the first argument
+        is the program name. We need to add a fake program name, otherwise the
+        first argument will be parsed as program name and ignored.
+
+        * llvm/library/LLVMExports.cpp:
+        (initializeAndGetJSCLLVMAPI):
+
 2014-06-16  Michael Saboff  <[email protected]>
 
         Convert ASSERT in inlineFunctionForCapabilityLevel to early return

Modified: trunk/Source/_javascript_Core/llvm/library/LLVMExports.cpp (170019 => 170020)


--- trunk/Source/_javascript_Core/llvm/library/LLVMExports.cpp	2014-06-16 19:04:55 UTC (rev 170019)
+++ trunk/Source/_javascript_Core/llvm/library/LLVMExports.cpp	2014-06-16 19:26:05 UTC (rev 170020)
@@ -91,6 +91,7 @@
 #endif
     
     const char* args[] = {
+        "llvmForJSC.dylib",
         "-enable-stackmap-liveness=true",
         "-enable-patchpoint-liveness=true"
     };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to