Lines Matching refs:Arg
239 foreach my $arg (@$AnalyzeArgs) {
240 push @Args, "-Xclang", $arg;
259 foreach my $arg (@CmdArgs) {
260 push @PrintArgs,"\'$arg\'";
495 my $Arg = $ARGV[$i];
496 my ($ArgKey) = split /=/,$Arg,2;
504 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
505 elsif ($Arg eq '-c') { $Action = 'compile'; }
506 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
509 if ($Arg eq "-arch") {
521 if ($Arg =~ /^-isysroot/) {
528 push @CompileOpts,$Arg;
533 if ($Arg =~ /^-iquote.*/) {
534 push @CompileOpts,$Arg;
541 push @LinkOpts,$Arg;
553 if ($UniqueOptions{$Arg}) {
554 if (defined $Uniqued{$Arg}) {
558 $Uniqued{$Arg} = 1;
561 push @CompileOpts,$Arg;
562 push @LinkOpts,$Arg;
582 if ($Arg =~ /^-[D,I,U,isystem](.*)$/) {
583 my $Tmp = $Arg;
587 $Tmp = $Arg . $ARGV[$i];
593 Arg =~ /^-m.*/) {
594 push @CompileOpts,$Arg;
599 if ($Arg eq '-x') {
605 if ($Arg eq '-o') {
612 if ($Arg =~ /^-[l,L,O]/) {
613 if ($Arg eq '-O') { push @LinkOpts,'-O1'; }
614 elsif ($Arg eq '-Os') { push @LinkOpts,'-O2'; }
615 else { push @LinkOpts,$Arg; }
618 if ($Arg =~ /^-O/) { push @CompileOpts,$Arg; }
622 if ($Arg =~ /^-std=/) {
623 push @CompileOpts,$Arg;
628 if ($Arg =~ /^-F(.+)$/) {
629 my $Tmp = $Arg;
633 $Tmp = $Arg . $ARGV[$i];
641 if ($Arg eq '-filelist') {
650 if ($Arg =~ /^-f/) {
651 push @CompileOpts,$Arg;
652 push @LinkOpts,$Arg;
658 if ($Arg =~ /^-Wno-/) {
659 push @CompileOpts, $Arg;
663 if (!($Arg =~ /^-/)) {
664 push @Files, $Arg;