Home | History | Annotate | Download | only in Driver
      1 // cygming have not supported integrated-as yet.
      2 // XFAIL: cygwin,mingw32
      3 //
      4 // Check to make sure clang is somewhat picky about -g options.
      5 // (Delived from debug-options.c)
      6 // rdar://10383444
      7 // RUN: %clang -### -c -save-temps -integrated-as -g %s 2>&1 \
      8 // RUN:   | FileCheck -check-prefix=SAVE %s
      9 //
     10 // SAVE: "-cc1as"
     11 // SAVE-NOT: "-g"
     12 
     13 // Check to make sure clang with -g on a .s file gets passed.
     14 // rdar://9275556
     15 // RUN: touch %t.s
     16 // RUN: %clang -### -c -integrated-as -g %t.s 2>&1 \
     17 // RUN:   | FileCheck -check-prefix=S %s
     18 //
     19 // S: "-cc1as"
     20 // S: "-g"
     21