Skip to content

Commit

Permalink
[lldb] Remove unused function getArchFlag (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
JDevlieghere committed Aug 18, 2020
1 parent d84fe55 commit 514bcb3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,6 @@ def getCompiler():
return os.path.abspath(compiler)


def getArchFlag():
"""Returns the flag required to specify the arch"""
compiler = getCompiler()
if compiler is None:
return ""
elif "gcc" in compiler:
archflag = "-m"
elif "clang" in compiler:
archflag = "-arch"
else:
archflag = None

return ("ARCHFLAG=" + archflag) if archflag else ""

def getMake(test_subdir, test_name):
"""Returns the invocation for GNU make.
The first argument is a tuple of the relative path to the testcase
Expand Down

0 comments on commit 514bcb3

Please sign in to comment.