1 // RUN: %clang -target xcore %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s
2 // RUN: %clang -target xcore -x c++ %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s
3 // RUN: %clang -target xcore -x c++ %s -fexceptions -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-EXCEP %s
4 // RUN: %clang -target xcore %s -g0 -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-G0 %s
6 // CHECK: "-mframe-pointer=none"
7 // CHECK: "-nostdsysteminc" "-fno-use-cxa-atexit"
8 // CHECK: "-fno-signed-char"
9 // CHECK-NOT: "-fcxx-exceptions"
10 // CHECK-NOT: "-fexceptions"
11 // CHECK-NOT: "-fcommon"
13 // CHECK-NOT: "-fexceptions"
14 // CHECK: "-c" "-v" "-g" "-fverbose-asm" "A1Arg" "A2Arg"
16 // CHECK-NOT: "-fexceptions"
18 // CHECK: "L1Arg" "L2Arg"
20 // CHECK-EXCEP: "-fno-use-cxa-atexit"
21 // CHECK-EXCEP: "-fcxx-exceptions"
22 // CHECK-EXCEP: "-fexceptions"
23 // CHECK-EXCEP-NOT: "-fcommon"
24 // CHECK-EXCEP: xcc" "-o"
25 // CHECK-EXCEP-NOT: "-fexceptions"
26 // CHECK-EXCEP: xcc" "-o"
27 // CHECK-EXCEP: "-fexceptions"