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:
parent
1610627d2b
commit
7adff65d4a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user