forked from OSchip/llvm-project
Provide better messages in llvm_unreachable.
llvm-svn: 148293
This commit is contained in:
parent
8a40f700e6
commit
a5708dc3a3
|
@ -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) {
|
||||
|
|
|
@ -913,7 +913,7 @@ bool SDTypeConstraint::ApplyTypeConstraint(TreePatternNode *N,
|
|||
EnforceVectorSubVectorTypeIs(NodeToApply->getExtType(ResNo), TP);
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Make GCC's unreachability happy");
|
||||
llvm_unreachable("Invalid ConstraintType!");
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue