Skip to content

Wrap remaining CORE C-API accessors on the Layer-2 typed handles#266

Merged
tannergooding merged 8 commits into
dotnet:mainfrom
tannergooding:tannergooding-layer2-core
Jul 16, 2026
Merged

Wrap remaining CORE C-API accessors on the Layer-2 typed handles#266
tannergooding merged 8 commits into
dotnet:mainfrom
tannergooding:tannergooding-layer2-core

Conversation

@tannergooding

Copy link
Copy Markdown
Member

Wraps the remaining CORE LLVM-C accessors on their existing typed-handle structs so the middle layer (Layer 2) exposes the same surface the raw C-API does, rather than forcing callers down to the generated LLVM.* P/Invokes.

Covers Use, Comdat, BasicBlock, Type, Context, Module, Builder, Value, Metadata, and the Target/codegen/target-machine-options groups. Two new typed handles are added where the C-API has an opaque type with no wrapper yet: LLVMTargetMachineOptionsRef and LLVMOperandBundleRef.

No generated-file edits; interop-only. Builds clean (0 warnings) and the full test suite passes (2625).

tannergooding and others added 8 commits July 15, 2026 18:26
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tannergooding
tannergooding merged commit 454a43f into dotnet:main Jul 16, 2026
31 of 34 checks passed
@tannergooding
tannergooding deleted the tannergooding-layer2-core branch July 16, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant