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 5 6 // CHECK: "-nostdsysteminc" 7 // CHECK: "-momit-leaf-frame-pointer" 8 // CHECK-NOT: "-mdisable-fp-elim" 9 // CHECK: "-fno-signed-char" 10 // CHECK: "-fno-use-cxa-atexit" 11 // CHECK-NOT: "-fcxx-exceptions" 12 // CHECK-NOT: "-fexceptions" 13 // CHECK: "-fno-common" 14 // CHECK: xcc" "-o" 15 // CHECK-NOT: "-fexceptions" 16 // CHECK: "-c" "-v" "-g" "-fverbose-asm" "A1Arg" "A2Arg" 17 // CHECK: xcc" "-o" 18 // CHECK-NOT: "-fexceptions" 19 // CHECK: "-v" 20 // CHECK: "L1Arg" "L2Arg" 21 22 // CHECK-EXCEP: "-fno-use-cxa-atexit" 23 // CHECK-EXCEP: "-fcxx-exceptions" 24 // CHECK-EXCEP: "-fexceptions" 25 // CHECK-EXCEP: "-fno-common" 26 // CHECK-EXCEP: xcc" "-o" 27 // CHECK-EXCEP-NOT: "-fexceptions" 28 // CHECK-EXCEP: xcc" "-o" 29 // CHECK-EXCEP: "-fexceptions" 30 31 // CHECK-G0: xcc" 32 // CHECK-G0-NOT: "-g" 33 // CHECK-G0: xcc" 34 35