diff options
| author | dianqk <dianqk@dianqk.net> | 2025-06-18 22:04:48 +0800 |
|---|---|---|
| committer | dianqk <dianqk@dianqk.net> | 2025-10-02 14:55:51 +0800 |
| commit | 1bd89bd42e0bb6f29b8af5d6bdf3f756196bb8ee (patch) | |
| tree | 8d7ac71c287300c9ce4f2b3a1cfbe05b998bf9ae /compiler/rustc_llvm/llvm-wrapper | |
| parent | 85b2f706939528b5796d98e82c183637f8338cd1 (diff) | |
| download | rust-1bd89bd42e0bb6f29b8af5d6bdf3f756196bb8ee.tar.gz rust-1bd89bd42e0bb6f29b8af5d6bdf3f756196bb8ee.zip | |
codegen: Generate `dbg_value` for the ref statement
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 2b83ea24ac6..e38474f09ff 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -58,6 +58,7 @@ using namespace llvm::object; // This opcode is an LLVM detail that could hypothetically change (?), so // verify that the hard-coded value in `dwarf_const.rs` still agrees with LLVM. static_assert(dwarf::DW_OP_LLVM_fragment == 0x1000); +static_assert(dwarf::DW_OP_stack_value == 0x9f); // LLVMAtomicOrdering is already an enum - don't create another // one. |
