diff options
| author | Walnut <39544927+Walnut356@users.noreply.github.com> | 2024-12-06 10:50:44 -0600 | 
|---|---|---|
| committer | Walnut <39544927+Walnut356@users.noreply.github.com> | 2024-12-30 19:01:48 -0600 | 
| commit | a1191e30b6cfdad8e5763eae808e138818d9b56d (patch) | |
| tree | 01bce2a73c020d11545ced77695fd9c657d71d75 /compiler/rustc_llvm | |
| parent | bc4266ca969f0d52ba59be728635572420de9f18 (diff) | |
| download | rust-a1191e30b6cfdad8e5763eae808e138818d9b56d.tar.gz rust-a1191e30b6cfdad8e5763eae808e138818d9b56d.zip | |
force enum `DISCR_*` to `const u64` to allow for inspection via LLDB's `SBTypeStaticField::GetConstantValue()`
Diffstat (limited to 'compiler/rustc_llvm')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index b2f17c69177..40dd9c68f61 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1142,9 +1142,9 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticMemberType( extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag, - LLVMMetadataRef Type) { - return wrap(unwrap(Builder)->createQualifiedType(Tag, - unwrapDI<DIType>(Type))); + LLVMMetadataRef Type) { + return wrap( + unwrap(Builder)->createQualifiedType(Tag, unwrapDI<DIType>(Type))); } extern "C" LLVMMetadataRef | 
