Skip to content

Add codeview_annotation intrinsic - #160285

Draft
gurry wants to merge 1 commit into
rust-lang:mainfrom
gurry:add-codeview-annotation-intrinsic
Draft

Add codeview_annotation intrinsic#160285
gurry wants to merge 1 commit into
rust-lang:mainfrom
gurry:add-codeview-annotation-intrinsic

Conversation

@gurry

@gurry gurry commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR adds a new intrinsic called codeview_annotation which lowers to llvm.codeview.annotation and allows users to emit arbitrary S_ANNOTATION records into PDB files.

See MCP issue rust-lang/compiler-team#1026 for more details.

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 31, 2026
@gurry gurry changed the title Add codeview_annotation intrinsic Add codeview_annotation intrinsic Jul 31, 2026
@rust-bors

This comment has been minimized.

@gurry
gurry force-pushed the add-codeview-annotation-intrinsic branch from 734844e to 0740b67 Compare August 11, 2026 07:10
@rust-bors

This comment has been minimized.

@gurry
gurry force-pushed the add-codeview-annotation-intrinsic branch from 0740b67 to 7161ffd Compare August 19, 2026 07:04
@rust-bors

rust-bors Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #161273) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

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-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants