Recognize '-M' and '-MM' options.

llvm-svn: 78027
This commit is contained in:
Ted Kremenek 2009-08-04 00:57:12 +00:00
parent 90fc8a492e
commit ba8d7fc6bf
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
my ($ArgKey) = split /=/,$Arg,2;
# Modes ccc-analyzer supports
if ($Arg eq '-E') { $Action = 'preprocess'; }
if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
elsif ($Arg eq '-c') { $Action = 'compile'; }
elsif ($Arg =~ /^-print-prog-name/) { exit 0; }