Skip to content

Emit retags in codegen to support BorrowSanitizer (part 1)#156208

Open
icmccorm wants to merge 1 commit intorust-lang:mainfrom
BorrowSanitizer:codegen-emit-retag-1
Open

Emit retags in codegen to support BorrowSanitizer (part 1)#156208
icmccorm wants to merge 1 commit intorust-lang:mainfrom
BorrowSanitizer:codegen-emit-retag-1

Conversation

@icmccorm
Copy link
Copy Markdown

@icmccorm icmccorm commented May 5, 2026

Tracking issue: #154760
Zulip Thread

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 #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

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 5, 2026

The GCC codegen subtree was changed

cc @antoyo, @GuillaumeGomez

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 5, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 5, 2026

r? @jackh726

rustbot has assigned @jackh726.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 19 candidates

@saethlin
Copy link
Copy Markdown
Member

saethlin commented May 5, 2026

r? saethlin

@rustbot rustbot assigned saethlin and unassigned jackh726 May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants