We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c6e79 commit c779facCopy full SHA for c779fac
lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
@@ -266,16 +266,11 @@ def getCompiler():
266
return module.getCompiler()
267
268
269
-def getCompilerBinary():
270
- """Returns the compiler binary the test suite is running with."""
271
- return getCompiler().split()[0]
272
-
273
274
def getCompilerVersion():
275
"""Returns a string that represents the compiler version.
276
Supports: llvm, clang.
277
"""
278
- compiler = getCompilerBinary()
+ compiler = getCompiler()
279
version_output = subprocess.check_output([compiler, "--version"], errors="replace")
280
m = re.search("version ([0-9.]+)", version_output)
281
if m:
0 commit comments