aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-03-02 15:26:41 +0000
committerCharles Davis <cdavis@mines.edu>2010-03-02 15:26:41 +0000
commita1359ba1a50d833d55a680ccdc8128d16b399052 (patch)
tree08f3a1773e70c96be55fecab3f17310edbaf26d4
parent15f6b42b68d296cabf117752094693afe813dffb (diff)
Pass -m32 and -m64 to the static analyzer when using scan-build. Now we can
use scan-build with Wine, for example. Ted, I hope this is OK. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97566 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xtools/scan-build/ccc-analyzer2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index 8c64d3ffef..e3db5eab32 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -339,6 +339,8 @@ my %LinkerOptionMap = (
my %CompilerLinkerOptionMap = (
'-isysroot' => 1,
'-arch' => 1,
+ '-m32' => 0,
+ '-m64' => 0,
'-v' => 0,
'-fpascal-strings' => 0,
'-mmacosx-version-min' => 0, # This is really a 1 argument, but always has '='