| ... | ... | @@ -1081,10 +1081,12 @@ pub fn spawnLld( |
| 1081 | 1081 | |
| 1082 | 1082 | switch (term) { |
| 1083 | 1083 | .Exited => |code| if (code != 0) { |
| 1084 | if (comp.clang_passthrough_mode) std.process.exit(code); |
| 1084 | 1085 | comp.lockAndParseLldStderr(argv[1], stderr); |
| 1085 | 1086 | return error.LLDReportedFailure; |
| 1086 | 1087 | }, |
| 1087 | 1088 | else => { |
| 1089 | if (comp.clang_passthrough_mode) std.process.abort(); |
| 1088 | 1090 | log.err("{s} terminated with stderr:\n{s}", .{ argv[0], stderr }); |
| 1089 | 1091 | return error.LLDCrashed; |
| 1090 | 1092 | }, |