mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Provide better messages in llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6cf11b412
commit
58bd1510a4
@ -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
Block a user