https://bugs.llvm.org/show_bug.cgi?id=52029
Bug ID: 52029
Summary: Aarch64-Darwin Large Code Model is not implemented
correctly. Memory allocator crash
Product: new-bugs
Version: 12.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
In https://github.com/JuliaLang/julia/issues/41440#issuecomment-932016347 and
https://github.com/JuliaLang/julia/issues/42295 we've noticed a recurring issue
related to the large code model for the new Apple Silicon chips.
The issue is that the Orc JIT will crash if the memory allocator does not
allocate sections within 4GB of each other (which the default allocator does
not).
Possible relevant lines of code:
https://github.com/llvm/llvm-project/blob/6f7483b1ece4747f2aafe4baa05fc07e7dc9ed9d/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp#L7687-L7689
[email protected] said I should cc [email protected] and
[email protected].
(not sure if this is the correct way to tag people using bugzilla)
thanks
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs