aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/Analysis.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-07-26 22:36:52 +0000
committerBill Wendling <isanbard@gmail.com>2010-07-26 22:36:52 +0000
commitfa60b0ee517f8cab3a149a6b41e376264a16bb53 (patch)
treed5db004c408950c62d4409c9a46e9dfd40391c63 /llvm/lib/CodeGen/Analysis.cpp
parentf902befe8e2e8d961601fbaf16c7c065a4983911 (diff)
downloadllvm-fa60b0ee517f8cab3a149a6b41e376264a16bb53.zip
llvm-fa60b0ee517f8cab3a149a6b41e376264a16bb53.tar.gz
llvm-fa60b0ee517f8cab3a149a6b41e376264a16bb53.tar.bz2
Using llvm.eh.catch.all.value instead of .llvm.eh.catch.all.value.
llvm-svn: 109462
Diffstat (limited to 'llvm/lib/CodeGen/Analysis.cpp')
-rw-r--r--llvm/lib/CodeGen/Analysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Analysis.cpp b/llvm/lib/CodeGen/Analysis.cpp
index a20d810..e3dd646 100644
--- a/llvm/lib/CodeGen/Analysis.cpp
+++ b/llvm/lib/CodeGen/Analysis.cpp
@@ -109,7 +109,7 @@ GlobalVariable *llvm::ExtractTypeInfo(Value *V) {
V = V->stripPointerCasts();
GlobalVariable *GV = dyn_cast<GlobalVariable>(V);
- if (GV && GV->getName() == ".llvm.eh.catch.all.value") {
+ if (GV && GV->getName() == "llvm.eh.catch.all.value") {
assert(GV->hasInitializer() &&
"The EH catch-all value must have an initializer");
Value *Init = GV->getInitializer();