[llvm-bugs] [Bug 52029] New: Aarch64-Darwin Large Code Model is not implemented correctly. Memory allocator crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 1 01:55:42 PDT 2021
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: unassignedbugs at nondot.org
Reporter: anand.jain at juliacomputing.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
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
keno at alumni.harvard.edu said I should cc lhames at gmail.com and
t.p.northover at gmail.com.
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211001/34848c15/attachment.html>
More information about the llvm-bugs
mailing list