diff options
| author | bors <bors@rust-lang.org> | 2022-11-21 01:44:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-21 01:44:12 +0000 |
| commit | ccde51a912e89478a649dc9e64b5584a5971f75f (patch) | |
| tree | b67b50d46582a17f8bc14bdcfb9111b4b0be4112 /compiler/rustc_codegen_llvm/src/llvm | |
| parent | a102dc806da3bc9c59b3594368a14e7d2632bf9c (diff) | |
| parent | 6f6eebde2012dcb163726c66f64fce4b5172dd9f (diff) | |
| download | rust-ccde51a912e89478a649dc9e64b5584a5971f75f.tar.gz rust-ccde51a912e89478a649dc9e64b5584a5971f75f.zip | |
Auto merge of #102717 - beetrees:repr128-c-style-debuginfo, r=nagisa
Pass 128-bit C-style enum enumerator values to LLVM Pass the full 128 bits of C-style enum enumerators through to LLVM. This means that debuginfo for C-style repr128 enums is now emitted correctly for DWARF platforms (as compared to not being correctly emitted on any platform). Tracking issue: #56071
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 8f7728da9dd..f4519849730 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2127,7 +2127,8 @@ extern "C" { Builder: &DIBuilder<'a>, Name: *const c_char, NameLen: size_t, - Value: i64, + Value: *const u64, + SizeInBits: c_uint, IsUnsigned: bool, ) -> &'a DIEnumerator; |
