From cd85348a93e375808af373b817118aec81952036 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 10 Jun 2008 18:56:59 +0000 Subject: [PATCH] Skip a few more files and linker options. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52189 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/ccc-analyzer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index d301f7448f..23f83f6f22 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -84,7 +84,7 @@ def analyze(clang, args,language,output,files,verbose,htmldir,file,analysis_type print >> sys.stderr, ' '.join(command+print_args) print >> sys.stderr, '\n' - subprocess.call(args) +# subprocess.call(args) def extension(path): return path.split(".")[-1] @@ -110,7 +110,7 @@ def inferlanguage(extension): return "objective-c" elif extension == "mi": return "objective-c-cpp-output" - elif extension == "s" or extension == "o": + elif extension in [ "s", "o", "a", "so" ]: return "skip" else: return "unknown" @@ -245,7 +245,7 @@ def main(args): # Arguments we currently ignore with one option. if arg in ['-install_name', '-exported_symbols_list', '-current_version', '-compatibility_version', '-init', '-e', - '-seg1addr']: + '-seg1addr', '-bundle_loader', '-multiply_defined']: i += 1 # Arguments we currently ignore with three options.