diff options
author | Chris Matthews <cmatthews5@apple.com> | 2018-06-26 22:33:40 +0000 |
---|---|---|
committer | Chris Matthews <cmatthews5@apple.com> | 2018-06-26 22:33:40 +0000 |
commit | 3b0743b7981ee36ababe6444a8d3383c9d4f08da (patch) | |
tree | e088f3fc527b0a7996adabf2d24faf82da17df4f | |
parent | 30b18e154df65d6add6856876a8c7e36b144f5c6 (diff) |
Fix error in run_info
The builtin assembler as never accepeted -v. If we find that, lets
just mention we are using the builtin, instead of leaving a warning
int he run-info.
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@335678 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lnt/testing/util/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lnt/testing/util/compilers.py b/lnt/testing/util/compilers.py index 66d071c..c672f2d 100644 --- a/lnt/testing/util/compilers.py +++ b/lnt/testing/util/compilers.py @@ -39,6 +39,9 @@ def get_cc_info(path, cc_flags=[]): cc_flags + ['-x', 'assembler', '/dev/null'], include_stderr=True).strip() + if "clang: error: unsupported argument '-v'" in cc_as_version: + cc_as_version = "Clang built in." + # Determine the linker version, as found by the compiler. tf = tempfile.NamedTemporaryFile(suffix='.c') name = tf.name |