rust/compiler/rustc_codegen_ssa/src/back
Guillaume Gomez 8b0c31d492
Rollup merge of #79508 - jryans:check-dsymutil-result, r=nagisa
Warn if `dsymutil` returns an error code

This checks the error code returned by `dsymutil` and warns if it failed. It
also provides the stdout and stderr logs from `dsymutil`, similar to the native
linker step.

I tried to think of ways to test this change, but so far I haven't found a good way, as you'd likely need to inject some nonsensical args into `dsymutil` to induce failure, which feels too artificial to me. Also, https://github.com/rust-lang/rust/issues/79361 suggests Rust is on the verge of disabling `dsymutil` by default, so perhaps it's okay for this change to be untested. In any case, I'm happy to add a test if someone sees a good approach.

Fixes https://github.com/rust-lang/rust/issues/78770
2020-12-01 23:46:09 +01:00
..
rpath mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
archive.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
command.rs Instruct lld that our @ files are posix-style, not Windows 2020-10-05 08:01:44 -04:00
link.rs Rollup merge of #79508 - jryans:check-dsymutil-result, r=nagisa 2020-12-01 23:46:09 +01:00
linker.rs rustc_target: Rename some target options to avoid tautology 2020-11-08 17:29:13 +03:00
lto.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mod.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rpath.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
symbol_export.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
write.rs rustc_target: Mark UEFI targets as is_like_windows/is_like_msvc 2020-11-12 19:40:41 +03:00