Home | History | Annotate | Download | only in libexec

Lines Matching refs:Arg

242     foreach my $arg (@$AnalyzeArgs) {
243 push @Args, "-Xclang", $arg;
266 foreach my $arg (@CmdArgs) {
267 push @PrintArgs,"\'$arg\'";
506 my $Arg = $ARGV[$i];
507 my ($ArgKey) = split /=/,$Arg,2;
515 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
516 elsif ($Arg eq '-c') { $Action = 'compile'; }
517 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
520 if ($Arg eq "-arch") {
532 if ($Arg =~ /^-isysroot/) {
539 push @CompileOpts,$Arg;
544 if ($Arg =~ /^-iquote.*/) {
545 push @CompileOpts,$Arg;
552 push @LinkOpts,$Arg;
564 if ($UniqueOptions{$Arg}) {
565 if (defined $Uniqued{$Arg}) {
569 $Uniqued{$Arg} = 1;
572 push @CompileOpts,$Arg;
573 push @LinkOpts,$Arg;
593 if ($Arg =~ /^-(?:[DIU]|isystem)(.*)$/) {
594 my $Tmp = $Arg;
598 $Tmp = $Arg . $ARGV[$i];
604 if ($Arg =~ /^-m.*/) {
605 push @CompileOpts,$Arg;
610 if ($Arg eq '-x') {
616 if ($Arg eq '-o') {
623 if ($Arg =~ /^-[l,L,O]/) {
624 if ($Arg eq '-O') { push @LinkOpts,'-O1'; }
625 elsif ($Arg eq '-Os') { push @LinkOpts,'-O2'; }
626 else { push @LinkOpts,$Arg; }
629 if ($Arg =~ /^-O/) { push @CompileOpts,$Arg; }
633 if ($Arg =~ /^-std=/) {
634 push @CompileOpts,$Arg;
639 if ($Arg =~ /^-F(.+)$/) {
640 my $Tmp = $Arg;
644 $Tmp = $Arg . $ARGV[$i];
652 if ($Arg eq '-filelist') {
661 if ($Arg =~ /^-f/) {
662 push @CompileOpts,$Arg;
663 push @LinkOpts,$Arg;
669 if ($Arg =~ /^-Wno-/) {
670 push @CompileOpts, $Arg;
674 # Handle -Xclang some-arg. Add both arguments to the compiler options.
675 if ($Arg =~ /^-Xclang$/) {
678 push @CompileOpts, $Arg;
683 if (!($Arg =~ /^-/)) {
684 push @Files, $Arg;