[llvm-commits] [llvm] r171025 - /llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp

Elena Demikhovsky elena.demikhovsky at intel.com
Mon Dec 24 01:42:27 PST 2012


Author: delena
Date: Mon Dec 24 03:42:27 2012
New Revision: 171025

URL: http://llvm.org/viewvc/llvm-project?rev=171025&view=rev
Log:
Removed "static" from "__jit_debug_descriptor" because "static" adds C++ mangling prefix to this symbol. 

Modified:
    llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp

Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp?rev=171025&r1=171024&r2=171025&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp Mon Dec 24 03:42:27 2012
@@ -44,7 +44,7 @@
   // We put information about the JITed function in this global, which the
   // debugger reads.  Make sure to specify the version statically, because the
   // debugger checks the version before we can set it during runtime.
-  static struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
+  struct jit_descriptor __jit_debug_descriptor = { 1, 0, 0, 0 };
 
   // Debuggers puts a breakpoint in this function.
   LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code() { }





More information about the llvm-commits mailing list