Skip to content

Commit

Permalink
Auto merge of #114534 - niluxv:strict_prov_unwind, r=cuviper,workingj…
Browse files Browse the repository at this point in the history
…ubilee

Strict provenance unwind

1. Turned many `usize`s in the personality/unwind code that are actually pointers into `*const u8`.
2. Rewrote `read_encoded_pointer` to conform to strict-provenance, along the lines as described by `@eddyb` [in zulip some time ago](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/strict.20provenance.20in.20dwarf.3A.3Aeh/near/276197290).

This should make supporting CHERI in the future easier (but they use a [slightly modified format in the callsite table](https://cheri-compiler-explorer.cl.cam.ac.uk/z/n6GhhW), which requires a CHERI specific modification to `find_eh_action`).
  • Loading branch information
bors committed Oct 19, 2023
2 parents 6ab852b + edb8438 commit 1046b28
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1046b28

Please sign in to comment.