diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-17 20:11:20 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-31 09:09:25 +1100 |
| commit | ce3e14a448e090abf494a91b87f124258c542d4c (patch) | |
| tree | 9d0af14b1e682239e125da4f4ee05e0d092ad98e /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 759e07f063fb8e6306ff1bdaeb70af56a878b415 (diff) | |
| download | rust-ce3e14a448e090abf494a91b87f124258c542d4c.tar.gz rust-ce3e14a448e090abf494a91b87f124258c542d4c.zip | |
Remove support for `-Zprofile` (gcov-style coverage instrumentation)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs index 2c5ec9dad59..64bb22e8cb2 100644 --- a/compiler/rustc_codegen_llvm/src/attributes.rs +++ b/compiler/rustc_codegen_llvm/src/attributes.rs @@ -232,11 +232,6 @@ fn probestack_attr<'ll>(cx: &CodegenCx<'ll, '_>) -> Option<&'ll Attribute> { return None; } - // probestack doesn't play nice either with gcov profiling. - if cx.sess().opts.unstable_opts.profile { - return None; - } - let attr_value = match cx.sess().target.stack_probes { StackProbeType::None => return None, // Request LLVM to generate the probes inline. If the given LLVM version does not support |
