aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-17 07:00:13 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-17 07:00:13 +0000
commit58bd1510a4fea29b1ea57d6a6c4038eeea0264a2 (patch)
tree9b7f37c4525b2e8182cf56eb36a6a34aac2c3905 /lib/VMCore
parentc6cf11b41243967b16211848b50876aab47e86df (diff)
downloadexternal_llvm-58bd1510a4fea29b1ea57d6a6c4038eeea0264a2.zip
external_llvm-58bd1510a4fea29b1ea57d6a6c4038eeea0264a2.tar.gz
external_llvm-58bd1510a4fea29b1ea57d6a6c4038eeea0264a2.tar.bz2
Provide better messages in llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp
index 82edb3a..7f86baa 100644
--- a/lib/VMCore/Core.cpp
+++ b/lib/VMCore/Core.cpp
@@ -1092,7 +1092,7 @@ LLVMLinkage LLVMGetLinkage(LLVMValueRef Global) {
return LLVMCommonLinkage;
}
- llvm_unreachable("Make GCC's unreachability happy");
+ llvm_unreachable("Invalid GlobalValue linkage!");
}
void LLVMSetLinkage(LLVMValueRef Global, LLVMLinkage Linkage) {