about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-06-21 14:08:49 -0500
committerTrevor Gross <tmgross@umich.edu>2024-07-02 21:42:01 -0400
commitc15a698f567356cea22e79686c2883f3557bae0b (patch)
tree0fd19188c5967c05fa9326da9fa3e1742b1dd4e3 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent64a3bd84d83a6138b6e7db82a53199246f292e53 (diff)
downloadrust-c15a698f567356cea22e79686c2883f3557bae0b.tar.gz
rust-c15a698f567356cea22e79686c2883f3557bae0b.zip
Rename the `asm-comments` compiler flag to `verbose-asm`
Since this codegen flag now only controls LLVM-generated comments rather than
all assembly comments, make the name more accurate (and also match Clang).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 132e1f9e8fd..08e9e312827 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2185,7 +2185,7 @@ extern "C" {
         UniqueSectionNames: bool,
         TrapUnreachable: bool,
         Singlethread: bool,
-        AsmComments: bool,
+        VerboseAsm: bool,
         EmitStackSizeSection: bool,
         RelaxELFRelocations: bool,
         UseInitArray: bool,