aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-build/ccc-analyzer
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-01-10 19:29:31 +0000
committerTed Kremenek <kremenek@apple.com>2013-01-10 19:29:31 +0000
commit75dcea57daa9bd6316a04ebdeee7c0a08781473d (patch)
treeb12750619207240bc151dc07bc563c7cdeec068c /tools/scan-build/ccc-analyzer
parented91bbaa8c4c92a1c94c9a7a5f4141551718cf6b (diff)
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
Diffstat (limited to 'tools/scan-build/ccc-analyzer')
-rwxr-xr-xtools/scan-build/ccc-analyzer4
1 files changed, 4 insertions, 0 deletions
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}) {