File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/Serialization/Recovery Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ static void _abortWithMessage(llvm::StringRef message) {
123
123
// crash reporter.
124
124
PrettyStackTraceMultilineString trace (message);
125
125
126
- // If pretty backtracing is disabled, fall back to dumping to stderr.
127
- if (! llvm::SavePrettyStackState ())
128
- llvm::errs () << message << ' \n ' ;
126
+ // Also dump to stderr in case pretty backtracing is disabled, and to
127
+ // allow the message to be seen while attached with a debugger.
128
+ llvm::errs () << message << ' \n ' ;
129
129
130
130
abort ();
131
131
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class Sub: Base {
16
16
// CHECK-CRASH: error: fatal error encountered while reading from module 'Lib'; please submit a bug report (https://swift.org/contributing/#reporting-bugs){{$}}
17
17
// CHECK-CRASH-4: Compiling with effective version 4.1.50
18
18
// CHECK-CRASH-4_2: Compiling with effective version 4.2
19
- // CHECK-CRASH: While loading members for 'Sub' (in module 'Lib')
19
+ // CHECK-CRASH-LABEL : While loading members for 'Sub' (in module 'Lib')
20
20
// CHECK-CRASH-LABEL: *** DESERIALIZATION FAILURE ***
21
21
// CHECK-CRASH-LABEL: *** If any module named here was modified in the SDK, please delete the ***
22
22
// CHECK-CRASH-LABEL: *** new swiftmodule files from the SDK and keep only swiftinterfaces. ***
You can’t perform that action at this time.
0 commit comments