From: Charles Davis Date: Tue, 2 Mar 2010 15:26:41 +0000 (+0000) Subject: Pass -m32 and -m64 to the static analyzer when using scan-build. Now we can X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1359ba1a50d833d55a680ccdc8128d16b399052;p=clang 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 --- 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 '='