Skip to content

Commit bbe6d9c

Browse files
fno-unwind-tables
1 parent db3e990 commit bbe6d9c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Tools/jit/_stencils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class HoleValue(enum.Enum):
9090
"R_AARCH64_MOVW_UABS_G1_NC": "patch_aarch64_16b",
9191
"R_AARCH64_MOVW_UABS_G2_NC": "patch_aarch64_16c",
9292
"R_AARCH64_MOVW_UABS_G3": "patch_aarch64_16d",
93+
"R_AARCH64_PREL32": "patch_32r",
9394
# x86_64-unknown-linux-gnu:
9495
"R_X86_64_64": "patch_64",
9596
"R_X86_64_GOTPCRELX": "patch_x86_64_32rx",

Tools/jit/_targets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ async def _compile(
166166
# This debug info isn't necessary, and bloats out the JIT'ed code.
167167
# We *may* be able to re-enable this, process it, and JIT it for a
168168
# nicer debugging experience... but that needs a lot more research:
169-
"-fno-asynchronous-unwind-tables",
169+
"-fno-unwind-tables",
170170
# Don't call built-in functions that we can't find or patch:
171171
"-fno-builtin",
172172
# Don't call stack-smashing canaries that we can't find or patch:
@@ -435,6 +435,7 @@ def _handle_section(
435435
"SHT_NULL",
436436
"SHT_STRTAB",
437437
"SHT_SYMTAB",
438+
"SHT_X86_64_UNWIND",
438439
}, section_type
439440

440441
def _handle_relocation(

0 commit comments

Comments
 (0)