mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

CFI: Append debug location to CFI blocks Currently we're not appending debug locations to the inserted CFI blocks. This shows up in #132615 and #100783. This change fixes that by passing down the debug location to the CFI type-test generation and appending it to the blocks. Credits also belong to `@jakos-sec` who worked with me on this.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.