Skip to content

Commit 514bcb3

Browse files
committed
[lldb] Remove unused function getArchFlag (NFC)
1 parent d84fe55 commit 514bcb3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lldb/packages/Python/lldbsuite/test/plugins/builder_base.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@ def getCompiler():
3737
return os.path.abspath(compiler)
3838

3939

40-
def getArchFlag():
41-
"""Returns the flag required to specify the arch"""
42-
compiler = getCompiler()
43-
if compiler is None:
44-
return ""
45-
elif "gcc" in compiler:
46-
archflag = "-m"
47-
elif "clang" in compiler:
48-
archflag = "-arch"
49-
else:
50-
archflag = None
51-
52-
return ("ARCHFLAG=" + archflag) if archflag else ""
53-
5440
def getMake(test_subdir, test_name):
5541
"""Returns the invocation for GNU make.
5642
The first argument is a tuple of the relative path to the testcase

0 commit comments

Comments
 (0)