Skip to content

Conversation

@lhames
Copy link
Contributor

@lhames lhames commented Nov 11, 2025

This argument serves as an opaque id (outside the ControllerAccess object) for a call to a wrapper function. I expect that most ControllerAccess implementations will want to use this argument as a sequence number (plain integer), for which uint64_t will be a better fit than void*. For ControllerAccess implementations that want to use a pointer, uint64_t should be sufficiently large.

This argument serves as an opaque id (outside the ControllerAccess object) for a
call to a wrapper function. I expect that most ControllerAccess implementations
will want to use this argument as a sequence number (plain integer), for which
uint64_t will be a better fit than void*. For ControllerAccess implementations
that want to use a pointer, uint64_t should be sufficiently large.
@lhames lhames merged commit 4c4b1a9 into llvm:main Nov 11, 2025
11 checks passed
@lhames lhames deleted the orc-rt-callctx-to-callid branch November 11, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant