diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-30 20:13:30 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-09-30 20:13:30 +0000 | 
| commit | 1e24cf365bc9c8df179b145c90d52852724e54ee (patch) | |
| tree | 3c0096caacc85baaf08f60f84ad7b7aa0812a740 /source/compiler/asloptions.c | |
| parent | c25a97c7b4f09b4c9efa992434d341f5b89629ff (diff) | |
Notes
Diffstat (limited to 'source/compiler/asloptions.c')
| -rw-r--r-- | source/compiler/asloptions.c | 31 | 
1 files changed, 28 insertions, 3 deletions
| diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c index 0be33e7f5abc..ef6ad8b5381c 100644 --- a/source/compiler/asloptions.c +++ b/source/compiler/asloptions.c @@ -68,7 +68,7 @@ AslDoResponseFile (  #define ASL_TOKEN_SEPARATORS    " \t\n" -#define ASL_SUPPORTED_OPTIONS   "@:b|c|d^D:e:f^gh^i|I:l^m:no|p:P^r:s|t|T+G^v^w|x:z" +#define ASL_SUPPORTED_OPTIONS   "@:a:b|c|d^D:e:f^gh^i|I:l^m:no|p:P^r:s|t|T+G^v^w|x:z"  /******************************************************************************* @@ -184,6 +184,24 @@ AslDoOptions (          }          break; +    case 'a':   /* Debug options */ + +        switch (AcpiGbl_Optarg[0]) +        { +        case 'r': + +            Gbl_EnableReferenceTypechecking = TRUE; +            break; + +        default: + +            printf ("Unknown option: -a%s\n", AcpiGbl_Optarg); +            return (-1); +        } + +        break; + +      case 'b':   /* Debug options */          switch (AcpiGbl_Optarg[0]) @@ -506,6 +524,13 @@ AslDoOptions (              Gbl_ReferenceOptimizationFlag = FALSE;              break; +        case 'c': + +            /* Display compile time(s) */ + +            Gbl_CompileTimesFlag = TRUE; +            break; +          case 'f':              /* Disable folding on "normal" expressions */ @@ -529,9 +554,9 @@ AslDoOptions (          case 't': -            /* Display compile time(s) */ +            /* Disable heavy typechecking */ -            Gbl_CompileTimesFlag = TRUE; +            Gbl_DoTypechecking = FALSE;              break;          default: | 
