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

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, along with an std lib API to call this intrinsic.

For more information see:

@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

This comment has been minimized.

@rust-bors

This comment has been minimized.

@gurry
gurry force-pushed the add-codeview-annotation-intrinsic branch from 8a0ad0d to d012be4 Compare October 7, 2026 12:52

This branch has not been deployed

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