xref: /llvm-project/clang/test/Preprocessor/unwind-tables.c (revision 7647a8413be55568a8a80fae379a872b7359f5b5)
1 // RUN: %clang %s -dM -E -target x86_64-windows | FileCheck %s --check-prefix=NO
2 // RUN: %clang %s -dM -E -target x86_64 -fno-asynchronous-unwind-tables | FileCheck %s --check-prefix=NO
3 
4 // RUN: %clang %s -dM -E -target x86_64 | FileCheck %s
5 // RUN: %clang %s -dM -E -target x86_64 -funwind-tables -fno-asynchronous-unwind-tables -g | FileCheck %s
6 // RUN: %clang %s -dM -E -target aarch64-apple-darwin | FileCheck %s
7 // RUN: %clang %s -dM -E -target x86_64 -fno-asynchronous-unwind-tables -g | FileCheck %s
8 // RUN: %clang %s -dM -E -target x86_64 -fno-asynchronous-unwind-tables -fexceptions | FileCheck %s
9 
10 // NO-NOT: #define __GCC_HAVE_DWARF2_CFI_ASM
11 // CHECK: #define __GCC_HAVE_DWARF2_CFI_ASM 1
12