Skip to content

[Fix][LLVM] Keep packed init callbacks local on Mach-O - #20052

Merged
tqchen merged 1 commit into
apache:mainfrom
akaashrp:fix/orcjit-macho-internal-symbols
Jul 26, 2026
Merged

[Fix][LLVM] Keep packed init callbacks local on Mach-O#20052
tqchen merged 1 commit into
apache:mainfrom
akaashrp:fix/orcjit-macho-internal-symbols

Conversation

@akaashrp

Copy link
Copy Markdown
Contributor

Packed-function initialization callbacks already use internal linkage. Marking them hidden additionally causes LLVM ORCJIT to reject the resulting private-external Mach-O symbols as unexpected definitions. This PR removes the redundant hidden visibility.

Internal linkage already keeps these callbacks module-local. Hidden visibility makes Darwin emit private-external symbols that ORCJIT rejects as unexpected definitions.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@akaashrp
akaashrp requested a review from tqchen July 26, 2026 19:16
@tqchen
tqchen merged commit a135410 into apache:main Jul 26, 2026
8 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