1
Fork 0
rust/compiler/rustc_codegen_ssa/src
David Calavera df0fc6daee Make symbols stripping work on MacOS X
As reported in the stabilization issue, MacOS' linker doesn't support the `-s` and `-S` flags to strip symbols anymore. However, the os ships a separated tool to perform these operations.

This change allows the compiler to use that tool after a target has been compiled to strip symbols.

For rationale, see: https://github.com/rust-lang/rust/issues/72110#issuecomment-641169818
For option selection, see: https://www.unix.com/man-page/osx/1/strip/

Signed-off-by: David Calavera <david.calavera@gmail.com>
2021-06-09 09:27:11 -07:00
..
back Make symbols stripping work on MacOS X 2021-06-09 09:27:11 -07:00
coverageinfo Translate counters from Rust 1-based to LLVM 0-based counter ids 2021-04-02 17:16:36 -07:00
debuginfo Stop adding '*' at the end of type names for Ref and Slice when computing debug info for MSVC debuggers 2020-11-30 14:31:34 -08:00
mir Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
traits Changes from review comments 2021-03-23 17:02:10 -07:00
base.rs Remove attribute #[link_args] 2021-04-03 21:25:53 +03:00
common.rs Support LLVM 12 in rustc 2021-02-28 10:19:44 +01:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs Remove attribute #[link_args] 2021-04-03 21:25:53 +03:00
meth.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs Use an ItemId inside mir::GlobalAsm. 2021-02-15 19:24:58 +01:00
target_features.rs Rollup merge of #80525 - devsnek:wasm64, r=nagisa 2021-04-05 00:24:23 +02:00