From 75dcea57daa9bd6316a04ebdeee7c0a08781473d 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172094 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-build/ccc-analyzer | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index f94f804a29..df694f5027 100755 --- a/tools/scan-build/ccc-analyzer +++ b/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}) { -- 2.50.1