Skip to content

Move to opaque llvm pointers#8614

Merged
abadams merged 1 commit intomainfrom
abadams/opaque_pointers
Apr 22, 2025
Merged

Move to opaque llvm pointers#8614
abadams merged 1 commit intomainfrom
abadams/opaque_pointers

Conversation

@abadams
Copy link
Member

@abadams abadams commented Apr 21, 2025

For a long time llvm has been slowly moving to a model where pointers are an opaque type, instead of knowing the pointee type. This has been complete for a while now, so they've started deprecating the APIs for constructing a pointer with a pointee type (these APIs ignore the pointee type anyway), or doing pointer casts, which are no-ops. This PR removes use of those APIs and is a nice simplification of some code.

Hopefully this unbreaks the build for trunk llvm.

For a long time llvm has been slowly moving to a model where pointers
are an opaque type, instead of knowing the pointee type. This has been
complete for a while now, so they've started deprecating the APIs for
constructing a pointer with a pointee type (these APIs ignore the
pointee type anyway), or doing pointer casts, which are no-ops. This PR
removes use of those APIs and is a nice simplification of some code.
@abadams
Copy link
Member Author

abadams commented Apr 22, 2025

It doesn't entirely unbreak it, but the remaining failures are unrelated - some sort of JIT exception handling nonsense on windows, and a bad node.js version or something on the mac x86 bot

@abadams abadams merged commit 82bfe3c into main Apr 22, 2025
17 of 19 checks passed
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.

2 participants