[Lldb-commits] [lldb] 514bcb3 - [lldb] Remove unused function getArchFlag (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 18 15:21:04 PDT 2020
Author: Jonas Devlieghere
Date: 2020-08-18T15:20:57-07:00
New Revision: 514bcb325dc9584f378be982ce102d8d5a531d5c
URL: https://github.com/llvm/llvm-project/commit/514bcb325dc9584f378be982ce102d8d5a531d5c
DIFF: https://github.com/llvm/llvm-project/commit/514bcb325dc9584f378be982ce102d8d5a531d5c.diff
LOG: [lldb] Remove unused function getArchFlag (NFC)
Added:
Modified:
lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
index 4d355d9d8805..a14b0de7d097 100644
--- a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
+++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
@@ -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
More information about the lldb-commits
mailing list