Skip to content

Backport https://github.com/llvm/llvm-project/commit/281d71604f418eb952e967d9dc4b26241b7f96aa to 18.x #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Zentrik
Copy link
Member

@Zentrik Zentrik commented Jun 30, 2024

Fixes windows build failure in JuliaLang/julia#54848.

I'd appreciate this getting tagged.

…arge (llvm#88172)

Following llvm#78348, we should treat functions with an explicit section as
small, unless the section name is (or has the prefix) ".ltext".

Clang emits global initializers into a ".text.startup" section on Linux.
If we mix small/medium code model object files with large code model
object files, we'll end up mixing sections with and without the large
section flag.

Reland of llvm#87838 with a check for non-ELF platforms in
TargetMachine::isLargeGlobalValue(), otherwise MCJIT on Windows tests
fail.
@giordano giordano merged commit ed30d04 into JuliaLang:julia-release/18.x Jun 30, 2024
2 checks passed
@giordano
Copy link
Member

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.

3 participants