llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
This commit is contained in:
@@ -291,7 +291,7 @@ unsigned MachineModuleInfo::getPersonalityIndex() const {
|
||||
}
|
||||
|
||||
// This should never happen
|
||||
LLVM_UNREACHABLE("Personality function should be set!");
|
||||
llvm_unreachable("Personality function should be set!");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user