diff options
Diffstat (limited to 'clang/test/Driver/cfi.c')
-rw-r--r-- | clang/test/Driver/cfi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Driver/cfi.c b/clang/test/Driver/cfi.c new file mode 100644 index 0000000..c33d190 --- /dev/null +++ b/clang/test/Driver/cfi.c @@ -0,0 +1,9 @@ +// RUN: %clang -target i386-apple-darwin10 \ +// RUN: -no-integrated-as -### %s 2>&1 | \ +// RUN: FileCheck --check-prefix=CHECK-DARWIN %s + +// RUN: %clang -target i386-pc-linux-gnu -static -### %s 2>&1 | \ +// RUN: FileCheck --check-prefix=CHECK-LINUX %s + +// CHECK-DARWIN: -fno-dwarf2-cfi-asm +// CHECK-LINUX-NOT: -fno-dwarf2-cfi-asm |