diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2023-05-04 15:39:21 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2023-05-04 15:39:21 +0200 |
| commit | 00ac29d7b2e7a9a2da79f8754efc8e0d51e81886 (patch) | |
| tree | a123ba18014bcf67ffbdc962dc9190489f3f01c7 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 6f8c0557e0b73c73a8a7163a15f4a5a3feca7d5c (diff) | |
| download | rust-00ac29d7b2e7a9a2da79f8754efc8e0d51e81886.tar.gz rust-00ac29d7b2e7a9a2da79f8754efc8e0d51e81886.zip | |
Output LLVM optimization remark kind in `-Cremark` output
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index bae88d94293..edebd07cb1c 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -195,6 +195,7 @@ pub(crate) struct FromLlvmOptimizationDiag<'a> { pub line: std::ffi::c_uint, pub column: std::ffi::c_uint, pub pass_name: &'a str, + pub kind: &'a str, pub message: &'a str, } |
