mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-12 19:38:50 +00:00

Xcode-style clang builds only support Xcode's architectures, so mips isn't available and the driver tries to use gcc instead. cc1 will go ahead and do -fsyntax-only for any platform it knows about even if it can't actually compile. llvm-svn: 164742
20 lines
1004 B
C
20 lines
1004 B
C
// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s
|
|
// RUN: %clang_cc1 -triple mips-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s
|
|
// RUN: %clang_cc1 -triple i686-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s
|
|
|
|
// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s
|
|
// RUN: %clang_cc1 -triple mips-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s
|
|
// RUN: %clang_cc1 -triple i686-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-linux \
|
|
// RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s
|
|
|
|
#include "unwind.h"
|