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