projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9ec32
)
[lib/Linker] Convert assert(false) to llvm_unreachable().
author
Davide Italiano
<davide@freebsd.org>
Fri, 13 Nov 2015 02:16:51 +0000
(
02:16
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 13 Nov 2015 02:16:51 +0000
(
02:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253005
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index 71af9d0d61e06115f4e0b7ce65ea2d7a77d8acf0..ee41d25ed706118849346b268a8f1c0beace21ca 100644
(file)
--- a/
lib/Linker/LinkModules.cpp
+++ b/
lib/Linker/LinkModules.cpp
@@
-777,7
+777,7
@@
GlobalValue::LinkageTypes ModuleLinker::getLinkage(const GlobalValue *SGV) {
// since it would cause global constructors/destructors to be
// executed multiple times. This should have already been handled
// by linkGlobalValueProto.
-
assert(false &&
"Cannot import appending linkage variable");
+
llvm_unreachable(
"Cannot import appending linkage variable");
case GlobalValue::InternalLinkage:
case GlobalValue::PrivateLinkage: