exit(1);
}
-void llvm_unreachable(void) {
+void llvm_unreachable(const char *msg, const char *file, unsigned line) {
+ if (msg)
+ errs() << msg << "\n";
+ errs() << "UNREACHABLE executed";
+ if (file)
+ errs() << " at " << file << ":" << line;
+ errs() << "!\n";
abort();
}
}