brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · d4b400c Raw
32 lines · c
1// RUN: %clang -target xcore %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s2// RUN: %clang -target xcore -x c++ %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s3// RUN: %clang -target xcore -x c++ %s -fexceptions -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-EXCEP %s4// RUN: %clang -target xcore %s -g0 -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-G0 %s5 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"12// CHECK: xcc" "-o"13// CHECK-NOT: "-fexceptions"14// CHECK: "-c" "-v" "-g" "-fverbose-asm" "A1Arg" "A2Arg"15// CHECK: xcc" "-o"16// CHECK-NOT: "-fexceptions"17// CHECK: "-v"18// CHECK: "L1Arg" "L2Arg"19 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"28 29// CHECK-G0: xcc"30// CHECK-G0-NOT: "-g"31// CHECK-G0: xcc"32