about summary refs log tree commit diff
path: root/tests/run-make/panic-abort-eh_frame/rmake.rs
diff options
context:
space:
mode:
authordianqk <dianqk@dianqk.net>2025-09-21 20:58:34 +0800
committerdianqk <dianqk@dianqk.net>2025-10-03 08:08:22 +0800
commitc2a03cefd8899941032940df0c6be3b364de0ed0 (patch)
treef157a032ba7e1901fc80486f0b967024858a0230 /tests/run-make/panic-abort-eh_frame/rmake.rs
parent8da04285cf6fe61587e16155a8b224dba64bf0be (diff)
downloadrust-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