0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-21 15:56:53 +00:00

[Dexter] Don't hardcode x86_64 as the default architecture

Use platform.machine() as the default architecture instead of hardcoding
it to x86_64.
This commit is contained in:
Jonas Devlieghere 2023-05-26 15:06:11 -07:00
parent 1610627d2b
commit 7adff65d4a
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D

@ -9,6 +9,7 @@
from collections import OrderedDict
import os
import pickle
import platform
import subprocess
import sys
from tempfile import NamedTemporaryFile
@ -97,7 +98,7 @@ def add_debugger_tool_arguments(parser, context, defaults):
parser.add_argument(
"--show-debugger", action="store_true", default=None, help="show the debugger"
)
defaults.arch = "x86_64"
defaults.arch = platform.machine()
parser.add_argument(
"--arch",
type=str,