[cfe-commits] r97566 - /cfe/trunk/tools/scan-build/ccc-analyzer
Charles Davis
cdavis at mines.edu
Tue Mar 2 07:26:41 PST 2010
Author: cdavis
Date: Tue Mar 2 09:26:41 2010
New Revision: 97566
URL: http://llvm.org/viewvc/llvm-project?rev=97566&view=rev
Log:
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.
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=97566&r1=97565&r2=97566&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Tue Mar 2 09:26:41 2010
@@ -339,6 +339,8 @@
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 '='
More information about the cfe-commits
mailing list