[vmkit-commits] [vmkit] r138939 - /vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed Aug 31 23:28:40 PDT 2011


Author: geoffray
Date: Thu Sep  1 01:28:40 2011
New Revision: 138939

URL: http://llvm.org/viewvc/llvm-project?rev=138939&view=rev
Log:
Give the right tool name to llvm::cl.


Modified:
    vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Modified: vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/JIT.cpp?rev=138939&r1=138938&r2=138939&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Thu Sep  1 01:28:40 2011
@@ -112,7 +112,7 @@
   const char** llvm_argv = reinterpret_cast<const char**>(
       allocator.Allocate((count + 3) * sizeof(char**)));
   int arrayIndex = 0;
-  llvm_argv[arrayIndex++] = "vmkit";
+  llvm_argv[arrayIndex++] = argv[0];
 
   if (count > 0) {
     i = 1;





More information about the vmkit-commits mailing list