Changeset View
Changeset View
Standalone View
Standalone View
flang/test/Driver/driver-help.f90
Show All 15 Lines | |||||
!---------------------------------------------------- | !---------------------------------------------------- | ||||
! HELP:USAGE: flang | ! HELP:USAGE: flang | ||||
! HELP-EMPTY: | ! HELP-EMPTY: | ||||
! HELP-NEXT:OPTIONS: | ! HELP-NEXT:OPTIONS: | ||||
! HELP-NEXT: -### Print (but do not run) the commands to run for this compilation | ! HELP-NEXT: -### Print (but do not run) the commands to run for this compilation | ||||
! HELP-NEXT: -cpp Enable predefined and command line preprocessor macros | ! HELP-NEXT: -cpp Enable predefined and command line preprocessor macros | ||||
! HELP-NEXT: -c Only run preprocess, compile, and assemble steps | ! HELP-NEXT: -c Only run preprocess, compile, and assemble steps | ||||
! HELP-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted) | ! HELP-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted) | ||||
! HELP-NEXT: -emit-llvm Use the LLVM representation for assembler and object files | |||||
! HELP-NEXT: -E Only run the preprocessor | ! HELP-NEXT: -E Only run the preprocessor | ||||
! HELP-NEXT: -falternative-parameter-statement | ! HELP-NEXT: -falternative-parameter-statement | ||||
! HELP-NEXT: Enable the old style PARAMETER statement | ! HELP-NEXT: Enable the old style PARAMETER statement | ||||
! HELP-NEXT: -fbackslash Specify that backslash in string introduces an escape character | ! HELP-NEXT: -fbackslash Specify that backslash in string introduces an escape character | ||||
! HELP-NEXT: -fcolor-diagnostics Enable colors in diagnostics | ! HELP-NEXT: -fcolor-diagnostics Enable colors in diagnostics | ||||
! HELP-NEXT: -fdefault-double-8 Set the default double precision kind to an 8 byte wide type | ! HELP-NEXT: -fdefault-double-8 Set the default double precision kind to an 8 byte wide type | ||||
! HELP-NEXT: -fdefault-integer-8 Set the default integer kind to an 8 byte wide type | ! HELP-NEXT: -fdefault-integer-8 Set the default integer kind to an 8 byte wide type | ||||
! HELP-NEXT: -fdefault-real-8 Set the default real kind to an 8 byte wide type | ! HELP-NEXT: -fdefault-real-8 Set the default real kind to an 8 byte wide type | ||||
Show All 13 Lines | |||||
! HELP-NEXT: -fopenmp Parse OpenMP pragmas and generate parallel code. | ! HELP-NEXT: -fopenmp Parse OpenMP pragmas and generate parallel code. | ||||
! HELP-NEXT: -fxor-operator Enable .XOR. as a synonym of .NEQV. | ! HELP-NEXT: -fxor-operator Enable .XOR. as a synonym of .NEQV. | ||||
! HELP-NEXT: -help Display available options | ! HELP-NEXT: -help Display available options | ||||
! HELP-NEXT: -I <dir> Add directory to the end of the list of include search paths | ! HELP-NEXT: -I <dir> Add directory to the end of the list of include search paths | ||||
! HELP-NEXT: -module-dir <dir> Put MODULE files in <dir> | ! HELP-NEXT: -module-dir <dir> Put MODULE files in <dir> | ||||
! HELP-NEXT: -nocpp Disable predefined and command line preprocessor macros | ! HELP-NEXT: -nocpp Disable predefined and command line preprocessor macros | ||||
! HELP-NEXT: -o <file> Write output to <file> | ! HELP-NEXT: -o <file> Write output to <file> | ||||
! HELP-NEXT: -pedantic Warn on language extensions | ! HELP-NEXT: -pedantic Warn on language extensions | ||||
! HELP-NEXT: -print-effective-triple Print the effective target triple | |||||
! HELP-NEXT: -print-target-triple Print the normalized target triple | |||||
! HELP-NEXT: -P Disable linemarker output in -E mode | ! HELP-NEXT: -P Disable linemarker output in -E mode | ||||
! HELP-NEXT: -std=<value> Language standard to compile for | ! HELP-NEXT: -std=<value> Language standard to compile for | ||||
! HELP-NEXT: --target=<value> Generate code for the given target | |||||
! HELP-NEXT: -U <macro> Undefine macro <macro> | ! HELP-NEXT: -U <macro> Undefine macro <macro> | ||||
! HELP-NEXT: --version Print version information | ! HELP-NEXT: --version Print version information | ||||
! HELP-NEXT: -W<warning> Enable the specified warning | ! HELP-NEXT: -W<warning> Enable the specified warning | ||||
! HELP-NEXT: -Xflang <arg> Pass <arg> to the flang compiler | ! HELP-NEXT: -Xflang <arg> Pass <arg> to the flang compiler | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
! EXPECTED OUTPUT FOR FLANG FRONTEND DRIVER (flang -fc1) | ! EXPECTED OUTPUT FOR FLANG FRONTEND DRIVER (flang -fc1) | ||||
!------------------------------------------------------------- | !------------------------------------------------------------- | ||||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
! HELP-FC1-NEXT: -module-suffix <suffix> Use <suffix> as the suffix for module files (the default value is `.mod`) | ! HELP-FC1-NEXT: -module-suffix <suffix> Use <suffix> as the suffix for module files (the default value is `.mod`) | ||||
! HELP-FC1-NEXT: -nocpp Disable predefined and command line preprocessor macros | ! HELP-FC1-NEXT: -nocpp Disable predefined and command line preprocessor macros | ||||
! HELP-FC1-NEXT: -o <file> Write output to <file> | ! HELP-FC1-NEXT: -o <file> Write output to <file> | ||||
! HELP-FC1-NEXT: -pedantic Warn on language extensions | ! HELP-FC1-NEXT: -pedantic Warn on language extensions | ||||
! HELP-FC1-NEXT: -plugin <name> Use the named plugin action instead of the default action (use "help" to list available options) | ! HELP-FC1-NEXT: -plugin <name> Use the named plugin action instead of the default action (use "help" to list available options) | ||||
! HELP-FC1-NEXT: -P Disable linemarker output in -E mode | ! HELP-FC1-NEXT: -P Disable linemarker output in -E mode | ||||
! HELP-FC1-NEXT: -std=<value> Language standard to compile for | ! HELP-FC1-NEXT: -std=<value> Language standard to compile for | ||||
! HELP-FC1-NEXT: -test-io Run the InputOuputTest action. Use for development and testing only. | ! HELP-FC1-NEXT: -test-io Run the InputOuputTest action. Use for development and testing only. | ||||
! HELP-FC1-NEXT: -triple <value> Specify target triple (e.g. i686-apple-darwin9) | |||||
! HELP-FC1-NEXT: -U <macro> Undefine macro <macro> | ! HELP-FC1-NEXT: -U <macro> Undefine macro <macro> | ||||
! HELP-FC1-NEXT: --version Print version information | ! HELP-FC1-NEXT: --version Print version information | ||||
! HELP-FC1-NEXT: -W<warning> Enable the specified warning | ! HELP-FC1-NEXT: -W<warning> Enable the specified warning | ||||
!--------------- | !--------------- | ||||
! EXPECTED ERROR | ! EXPECTED ERROR | ||||
!--------------- | !--------------- | ||||
! ERROR: error: unknown argument '-helps'; did you mean '-help' | ! ERROR: error: unknown argument '-helps'; did you mean '-help' |