1 | // RUN: %clang -target i686-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC %s |
2 | // RUN: %clang -target x86_64-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC %s |
3 | // RUN: %clang -target i686-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s |
4 | // RUN: %clang -target x86_64-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s |
5 | // RUN: %clang -target aarch64-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s |
6 | // RUN: %clang -target aarch64-windows-gnu -fseh-exceptions -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s |
7 | |
8 | MSVC-NOT: -fdwarf-exceptions |
9 | MSVC-NOT: -fseh-exceptions |
10 | MINGW-DWARF: -fdwarf-exceptions |
11 | MINGW-SEH: -munwind-tables |
12 | MINGW-SEH: -fseh-exceptions |
13 | |