]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #87004 - JamieCunliffe:pgo-gc-sections, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Sun, 18 Jul 2021 23:14:31 +0000 (23:14 +0000)
committerbors <bors@rust-lang.org>
Sun, 18 Jul 2021 23:14:31 +0000 (23:14 +0000)
commitb548d9f1c656953c3843693e060302c5c392d149
tree3f532cdbf9c0c40b4f83264db22af8d95a1eccc9
parent59216858a323978a97593cba22b5ed84350a3783
parent7c98b3cfe30d3c4e3ba6ad27bc711819e34382d6
Auto merge of #87004 - JamieCunliffe:pgo-gc-sections, r=Mark-Simulacrum

Don't use gc-sections with profile-generate.

When building with profile-generate don't call gc_sections as this can
can sometimes strip out profile data. This missing information in the
prof files can then result in missing functions when using the profile
information.

#78226

r? `@Mark-Simulacrum`
compiler/rustc_codegen_ssa/src/back/link.rs