5 Commits

Author SHA1 Message Date
Nikita Popov
c3ab409b4f Use captures(address) instead of captures(none) for indirect args
While provenance cannot be captured through these arguments, the
address / object identity can.
2025-08-26 16:16:23 +02:00
WANG Rui
d07009cb89 Fix the ABI parameter inconsistency issue in debug.rs for LoongArch64 2025-08-21 20:04:02 +08:00
Nikita Popov
d71ed8d19b Tell LLVM about read-only captures
`&Freeze` parameters are not only `readonly` within the function,
but any captures of the pointer can also only be used for reads.
This can now be encoded using the `captures(address, read_provenance)`
attribute.
2025-08-20 19:08:16 +02:00
Jubilee Young
64bec0ffdb Fix tests/ui/abi/debug.rs to cross-compile for riscv64 2025-07-04 18:13:58 -07:00
YingkaiLi-VM
57d989b66a Fixed the ABI parameter inconsistency issue in debug.rs for the riscv64 architecture. 2025-07-04 17:32:33 -07:00