about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2024-04-08 16:37:06 +0000
committerMatthew Maurer <mmaurer@google.com>2024-04-08 17:00:18 +0000
commit284da5d6b44ffaf22db50f4c30f5d941a471b26c (patch)
tree6b59ac6373ea37d239a232b4ad58f8debb86f508 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentab3dba92db355b8d97db915a2dca161a117e959c (diff)
downloadrust-284da5d6b44ffaf22db50f4c30f5d941a471b26c.tar.gz
rust-284da5d6b44ffaf22db50f4c30f5d941a471b26c.zip
CFI: Fix ICE in KCFI non-associated function pointers
We oddly weren't testing the more usual case of casting non-methods to
function pointers. The KCFI shim insertion logic would ICE on these due
to asking for an irrefutable associated item if we cast a function to a
function pointer without needing a traditional shim.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions