Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7c7bb7d

Browse files
committedNov 1, 2024·
Auto merge of rust-lang#132470 - GuillaumeGomez:rollup-1a1mkmp, r=GuillaumeGomez
Rollup of 14 pull requests Successful merges: - rust-lang#131829 (Remove support for `-Zprofile` (gcov-style coverage instrumentation)) - rust-lang#132369 (style-guide: Only use the new binop heuristic for assignments) - rust-lang#132383 (Implement suggestion for never type fallback lints) - rust-lang#132413 (update offset_of! docs to reflect the stabilization of nesting) - rust-lang#132438 (Remove unncessary option for default rust-analyzer setting) - rust-lang#132439 (Add `f16` and `f128` to `invalid_nan_comparison`) - rust-lang#132444 (rustdoc: Directly use rustc_abi instead of reexports) - rust-lang#132445 (Cleanup attributes around unchecked shifts and unchecked negation in const) - rust-lang#132448 (Add missing backtick) - rust-lang#132450 (Show actual MIR when MIR building forgot to terminate block) - rust-lang#132451 (remove some unnecessary rustc_allow_const_fn_unstable) - rust-lang#132455 (make const_alloc_layout feature gate only about functions that are already stable) - rust-lang#132456 (Move remaining inline assembly test files into asm directory) - rust-lang#132459 (feat(byte_sub_ptr): unstably add ptr::byte_sub_ptr) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 705cfe0 + 305ca05 commit 7c7bb7d

File tree

74 files changed

+837
-310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+837
-310
lines changed
 

‎compiler/rustc_codegen_llvm/src/attributes.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ fn probestack_attr<'ll>(cx: &CodegenCx<'ll, '_>) -> Option<&'ll Attribute> {
232232
return None;
233233
}
234234

235-
// probestack doesn't play nice either with gcov profiling.
236-
if cx.sess().opts.unstable_opts.profile {
237-
return None;
238-
}
239-
240235
let attr_value = match cx.sess().target.stack_probes {
241236
StackProbeType::None => return None,
242237
// Request LLVM to generate the probes inline. If the given LLVM version does not support

‎compiler/rustc_codegen_llvm/src/back/write.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ pub(crate) unsafe fn llvm_optimize(
591591
pgo_use_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
592592
config.instrument_coverage,
593593
instr_profile_output_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
594-
config.instrument_gcov,
595594
pgo_sample_use_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
596595
config.debug_info_for_profiling,
597596
llvm_selfprofiler,

0 commit comments

Comments
 (0)
This repository has been archived.