[llvm-branch-commits] [llvm-gcc-branch] r101217 - /llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp
Bill Wendling
isanbard at gmail.com
Tue Apr 13 20:57:16 PDT 2010
Author: void
Date: Tue Apr 13 22:57:16 2010
New Revision: 101217
URL: http://llvm.org/viewvc/llvm-project?rev=101217&view=rev
Log:
$ svn merge -c 101216 https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
--- Merging r101216 into '.':
U gcc/llvm-convert.cpp
Modified:
llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp?rev=101217&r1=101216&r2=101217&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-convert.cpp Tue Apr 13 22:57:16 2010
@@ -2096,7 +2096,7 @@
foreach_reachable_handler(i, false, AddHandler, &Handlers);
bool HasCleanup = false;
- static Value *CatchAll = 0;
+ static GlobalVariable *CatchAll = 0;
for (std::vector<struct eh_region *>::iterator I = Handlers.begin(),
E = Handlers.end(); I != E; ++I) {
@@ -2131,6 +2131,7 @@
CatchAll = new GlobalVariable(*TheModule, Init->getType(), true,
GlobalVariable::LinkOnceAnyLinkage,
Init, ".llvm.eh.catch.all.value");
+ CatchAll->setSection("llvm.metadata");
}
Args.push_back(CatchAll);
@@ -2173,6 +2174,7 @@
CatchAll = new GlobalVariable(*TheModule, Init->getType(), true,
GlobalVariable::LinkOnceAnyLinkage,
Init, ".llvm.eh.catch.all.value");
+ CatchAll->setSection("llvm.metadata");
}
Args.push_back(CatchAll);
More information about the llvm-branch-commits
mailing list