Mercurial > hg > CbC > CbC_llvm
view clang/test/Driver/xcore-opts.c @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 0572611fdcc8 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: %clang -target xcore %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s // RUN: %clang -target xcore -x c++ %s -g -Wl,L1Arg,L2Arg -Wa,A1Arg,A2Arg -fverbose-asm -v -### -o %t.o 2>&1 | FileCheck %s // RUN: %clang -target xcore -x c++ %s -fexceptions -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-EXCEP %s // RUN: %clang -target xcore %s -g0 -### -o %t.o 2>&1 | FileCheck -check-prefix CHECK-G0 %s // CHECK: "-mframe-pointer=none" // CHECK: "-nostdsysteminc" // CHECK: "-fno-signed-char" // CHECK: "-fno-use-cxa-atexit" // CHECK-NOT: "-fcxx-exceptions" // CHECK-NOT: "-fexceptions" // CHECK-NOT: "-fcommon" // CHECK: xcc" "-o" // CHECK-NOT: "-fexceptions" // CHECK: "-c" "-v" "-g" "-fverbose-asm" "A1Arg" "A2Arg" // CHECK: xcc" "-o" // CHECK-NOT: "-fexceptions" // CHECK: "-v" // CHECK: "L1Arg" "L2Arg" // CHECK-EXCEP: "-fno-use-cxa-atexit" // CHECK-EXCEP: "-fcxx-exceptions" // CHECK-EXCEP: "-fexceptions" // CHECK-EXCEP-NOT: "-fcommon" // CHECK-EXCEP: xcc" "-o" // CHECK-EXCEP-NOT: "-fexceptions" // CHECK-EXCEP: xcc" "-o" // CHECK-EXCEP: "-fexceptions" // CHECK-G0: xcc" // CHECK-G0-NOT: "-g" // CHECK-G0: xcc"