mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Demangler: print fatal errors to stderr
Swift SVN r20263
This commit is contained in:
@@ -31,7 +31,7 @@ using namespace Demangle;
|
|||||||
|
|
||||||
[[noreturn]]
|
[[noreturn]]
|
||||||
static void unreachable(const char *Message) {
|
static void unreachable(const char *Message) {
|
||||||
printf("fatal error: %s\n", Message);
|
fprintf(stderr, "fatal error: %s\n", Message);
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user