Home | History | Annotate | Download | only in Driver
      1 // RUN: env CCC_OVERRIDE_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-###  " %clang -target x86_64-apple-darwin %s -O2 b -O3 2>&1 | FileCheck %s
      2 // RUN: env CCC_OVERRIDE_OPTIONS="x-Werror +-msse" %clang -target x86_64-apple-darwin -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR
      3 
      4 // CHECK: "-cc1"
      5 // CHECK-NOT: "-Oignore"
      6 // CHECK: "-Omagic"
      7 // CHECK-NOT: "-Oignore"
      8 
      9 // RM-WERROR: ### CCC_OVERRIDE_OPTIONS: x-Werror +-msse
     10 // RM-WERROR-NEXT: ### Deleting argument -Werror
     11 // RM-WERROR-NEXT: ### Adding argument -msse at end
     12 // RM-WERROR-NOT: "-Werror"
     13