]> git.lizzy.rs Git - rust.git/commit
Implement -Z function-sections=yes|no
authorAnthony Ramine <nox@nox.paris>
Mon, 26 Oct 2020 19:55:07 +0000 (20:55 +0100)
committerAnthony Ramine <nox@nox.paris>
Mon, 26 Oct 2020 22:26:43 +0000 (23:26 +0100)
commit056942215cf8dc39686fa80e42b4e73657d4fed5
tree30ea88aeefa520cf0156c14526a97d45f6128b08
parent53fa22a6fb293d9fb82221695a643825953aa34c
Implement -Z function-sections=yes|no

This lets rustc users tweak whether all functions should be put in their own
TEXT section, using whatever default value the target defines if the flag
is missing.
compiler/rustc_codegen_llvm/src/back/write.rs
compiler/rustc_interface/src/tests.rs
compiler/rustc_session/src/options.rs