From 49061fab7acd345c8350fe2c2a3c81826a941327 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 4 Jun 2008 20:49:03 +0000 Subject: [PATCH] ccc-analyzer now properly eats the -install_name, -exported_symbols_list, -current_version, -compatibility_version, and -sectorder command line arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51965 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/ccc-analyzer | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index 55f6382e49..da85dddc3f 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -241,6 +241,15 @@ def main(args): if arg == '-o': output = args[i+1] i += 1 + + # Arguments we currently ignore with one option. + if arg in ['-install_name', '-exported_symbols_list', + '-current_version', '-compatibility_version']: + i += 1 + + # Arguments we currently ignore with three options. + if arg in ['-sectorder']: + i += 3 i += 1 -- 2.40.0