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:
Torok Edwin
2009-07-14 16:55:14 +00:00
parent 88719a1dd6
commit fbcc663cbf
172 changed files with 813 additions and 812 deletions

View File

@@ -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;
}