[llvm-commits] [llvm-gcc-4.2] r100149 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Bill Wendling
isanbard at gmail.com
Thu Apr 1 16:08:27 PDT 2010
Author: void
Date: Thu Apr 1 18:08:27 2010
New Revision: 100149
URL: http://llvm.org/viewvc/llvm-project?rev=100149&view=rev
Log:
Set the proper linkage for the ".llvm.eh.catch.all.value" variable.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=100149&r1=100148&r2=100149&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Thu Apr 1 18:08:27 2010
@@ -2165,7 +2165,7 @@
Init = cast<Constant>(Emit(catch_all_type, 0));
CatchAll = new GlobalVariable(*TheModule, Init->getType(), true,
- GlobalVariable::PrivateLinkage,
+ GlobalVariable::LinkOnceAnyLinkage,
Init, ".llvm.eh.catch.all.value");
}
More information about the llvm-commits
mailing list