Removed "static" from "__jit_debug_descriptor" because "static" adds C++ mangling...
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Mon, 24 Dec 2012 09:42:27 +0000 (09:42 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Mon, 24 Dec 2012 09:42:27 +0000 (09:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171025 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/GDBRegistrar.cpp

index 205ac2342c7b4936c836e8d46ec54045190fb17b..603c526d06e3c6df586d203880f36ae298ee5e20 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
   // 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() { }