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\'";
502 my $Arg = $ARGV[$i];
503 my ($ArgKey) = split /=/,$Arg,2;
511 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
512 elsif ($Arg eq '-c') { $Action = 'compile'; }
513 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
516 if ($Arg eq "-arch") {
528 if ($Arg =~ /^-isysroot/) {
535 push @CompileOpts,$Arg;
540 if ($Arg =~ /^-iquote.*/) {
541 push @CompileOpts,$Arg;
548 push @LinkOpts,$Arg;
560 if ($UniqueOptions{$Arg}) {
561 if (defined $Uniqued{$Arg}) {
565 $Uniqued{$Arg} = 1;
568 push @CompileOpts,$Arg;
569 push @LinkOpts,$Arg;
589 if ($Arg =~ /^-(?:[DIU]|isystem)(.*)$/) {
590 my $Tmp = $Arg;
594 $Tmp = $Arg . $ARGV[$i];
600 if ($Arg =~ /^-m.*/) {
601 push @CompileOpts,$Arg;
606 if ($Arg eq '-x') {
612 if ($Arg eq '-o') {
619 if ($Arg =~ /^-[l,L,O]/) {
620 if ($Arg eq '-O') { push @LinkOpts,'-O1'; }
621 elsif ($Arg eq '-Os') { push @LinkOpts,'-O2'; }
622 else { push @LinkOpts,$Arg; }
625 if ($Arg =~ /^-O/) { push @CompileOpts,$Arg; }
629 if ($Arg =~ /^-std=/) {
630 push @CompileOpts,$Arg;
635 if ($Arg =~ /^-F(.+)$/) {
636 my $Tmp = $Arg;
640 $Tmp = $Arg . $ARGV[$i];
648 if ($Arg eq '-filelist') {
657 if ($Arg =~ /^-f/) {
658 push @CompileOpts,$Arg;
659 push @LinkOpts,$Arg;
665 if ($Arg =~ /^-Wno-/) {
666 push @CompileOpts, $Arg;
670 # Handle -Xclang some-arg. Add both arguments to the compiler options.
671 if ($Arg =~ /^-Xclang$/) {
674 push @CompileOpts, $Arg;
679 if (!($Arg =~ /^-/)) {
680 push @Files, $Arg;