From 4a800f876abd560c83006be66ab6e1c06b70fc02 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 10 Jan 2013 19:29:31 +0000 Subject: [PATCH] ccc-analyzer: Forward -msse* options to the compiler. llvm-svn: 172094 --- clang/tools/scan-build/ccc-analyzer | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index f94f804a29e3..df694f502711 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/tools/scan-build/ccc-analyzer @@ -491,6 +491,10 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; } next; } + if ($Arg =~ /-msse.*/) { + push @CompileOpts,$Arg; + next; + } # Options with possible arguments that should pass through to linker. if (defined $LinkerOptionMap{$ArgKey}) {