Skip to content

Commit 805e23e

Browse files
committed
Let's do it just for Linux AArch64 for now
1 parent 7b86c02 commit 805e23e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Tools/jit/_targets.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ async def _compile(
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:
169169
"-fno-asynchronous-unwind-tables",
170-
"-fno-unwind-tables",
171170
# Don't call built-in functions that we can't find or patch:
172171
"-fno-builtin",
173172
# Don't call stack-smashing canaries that we can't find or patch:
@@ -581,15 +580,13 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
581580
host = "aarch64-apple-darwin"
582581
condition = "defined(__aarch64__) && defined(__APPLE__)"
583582
optimizer = _optimizers.OptimizerAArch64
584-
target = _MachO(host, condition, optimizer=optimizer, frame_pointers=True)
583+
target = _MachO(host, condition, optimizer=optimizer)
585584
elif re.fullmatch(r"aarch64-pc-windows-msvc", host):
586585
host = "aarch64-pc-windows-msvc"
587586
condition = "defined(_M_ARM64)"
588587
args = ["-fms-runtime-lib=dll"]
589588
optimizer = _optimizers.OptimizerAArch64
590-
target = _COFF64(
591-
host, condition, args=args, optimizer=optimizer, frame_pointers=True
592-
)
589+
target = _COFF64(host, condition, args=args, optimizer=optimizer)
593590
elif re.fullmatch(r"aarch64-.*-linux-gnu", host):
594591
host = "aarch64-unknown-linux-gnu"
595592
condition = "defined(__aarch64__) && defined(__linux__)"

0 commit comments

Comments
 (0)