We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
llvm.compiler.used
llvm.used
1 parent 16c2b39 commit da72295Copy full SHA for da72295
compiler/rustc_codegen_llvm/src/consts.rs
@@ -545,7 +545,7 @@ impl<'ll> StaticMethods for CodegenCx<'ll, '_> {
545
//
546
// However, unconditional use of `llvm.compiler.used` caused a nontrivial amount of
547
// ecosystem breakage, especially on Mach-O targets. To resolve this, we compile it
548
- // as llvm.used on ELF targets and llvm.compiler.used elsewhere, which and should be
+ // as llvm.compiler.used on ELF targets and llvm.used elsewhere, which should be
549
// equivalent to how we compiled `#[used]` before LLVM 13, as `llvm.used` and
550
// `llvm.compiler.used` were treated the same on ELF targets prior in earlier LLVM
551
// versions (additionally, it seems to be how Clang handles `__attribute__((used))`,
0 commit comments