Commit 5f9ee81
committed
Backport of LLVM code to fix ARM relocation bug.
Supply a new memory manager for RuntimeDyld that avoids putting ARM code
too far apart. This is the code from
llvm/llvm-project#71968, copied into our tree
and moved into a new namespace llvm::backport, with minor adjustments to
work on LLVM 12-18.
This should fix the spate of crashes we've been receiving lately from
users on ARM systems.
XXX Ideally the LLVM project will commit this, and then we can resync
with the code in the LLVM 19.x stable branch, instead of using the code
from their PR, before we ship it!
Reported-by: Anthonin Bonnefoy <[email protected]>
Reviewed-by: Anthonin Bonnefoy <[email protected]>
Discussion: https://postgr.es/m/CAO6_Xqr63qj%3DSx7HY6ZiiQ6R_JbX%2B-p6sTPwDYwTWZjUmjsYBg%40mail.gmail.com1 parent 2e6a804 commit 5f9ee81
File tree
8 files changed
+680
-1
lines changed- src
- backend/jit/llvm
- include/jit
8 files changed
+680
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments