Skip to content
Snippets Groups Projects
Commit 32c94235 authored by Andreas Klebinger's avatar Andreas Klebinger
Browse files

NCG: AArch64 - Add -fhuge-code-sections.

When enabled the arm backend will assume jumps to targets outside of the
current module are further than 128MB away.

This will allow for code to work if:
* The current module results in less than 128MB of code.
* The whole program is loaded within a 4GB memory region.

We enable this by default on mac where the lack of split sections can
sometimes cause us to go over this limit - see #24648.

This works around #24648 for now.
parent d7a3d6b5
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment