We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_abortWithMessage
1 parent 8b4740f commit 2390fc6Copy full SHA for 2390fc6
lib/Basic/Assertions.cpp
@@ -123,9 +123,9 @@ static void _abortWithMessage(llvm::StringRef message) {
123
// crash reporter.
124
PrettyStackTraceMultilineString trace(message);
125
126
- // If pretty backtracing is disabled, fall back to dumping to stderr.
127
- if (!llvm::SavePrettyStackState())
128
- llvm::errs() << message << '\n';
+ // Also dump to stderr in case pretty backtracing is disabled, and to
+ // allow the message to be seen while attached with a debugger.
+ llvm::errs() << message << '\n';
129
130
abort();
131
}
0 commit comments