mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
ff42fc00d4
Emit retags in codegen to support BorrowSanitizer (part 1) Tracking issue: rust-lang/rust#154760 [Zulip Thread](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Staging.20for.20emitting.20retags.20in.20codegen/with/593004012) This is the first of several PRs that will add experimental support for emitting retags as function calls in codegen. Each PR will be a minimal, improved slice of the changes in rust-lang/rust#155965. This PR contains all of the changes that will affect codegen backends. It adds methods to `IntrinsicCallBuilderMethods` for emitting each kind of retag call. cc: @RalfJung