diff options
| author | dianqk <dianqk@dianqk.net> | 2025-09-21 20:58:34 +0800 |
|---|---|---|
| committer | dianqk <dianqk@dianqk.net> | 2025-10-03 08:08:22 +0800 |
| commit | c2a03cefd8899941032940df0c6be3b364de0ed0 (patch) | |
| tree | f157a032ba7e1901fc80486f0b967024858a0230 /tests/run-make/panic-abort-eh_frame/rmake.rs | |
| parent | 8da04285cf6fe61587e16155a8b224dba64bf0be (diff) | |
| download | rust-c2a03cefd8899941032940df0c6be3b364de0ed0.tar.gz rust-c2a03cefd8899941032940df0c6be3b364de0ed0.zip | |
debuginfo: Use `LocalRef` to simplify reference debuginfos
If the `LocalRef` is `LocalRef::Place`, we can refer to it directly, because the local of place is an indirect pointer. Such a statement is `_1 = &(_2.1)`. If the `LocalRef` is `LocalRef::Operand`, the `OperandRef` should provide the pointer of the reference. Such a statement is `_1 = &((*_2).1)`. But there is a special case that hasn't been handled, scalar pairs like `(&[i32; 16], i32)`.
Diffstat (limited to 'tests/run-make/panic-abort-eh_frame/rmake.rs')
0 files changed, 0 insertions, 0 deletions
