Shoaib Meenai | 09edbdd | 2018-06-06 23:09:02 +0000 | [diff] [blame] | 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 |
Martin Storsjo | 5e100de | 2019-05-06 21:19:01 +0000 | [diff] [blame] | 5 | // RUN: %clang -target aarch64-windows-gnu -fdwarf-exceptions -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s |
| 6 | // RUN: %clang -target aarch64-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s |
Shoaib Meenai | 09edbdd | 2018-06-06 23:09:02 +0000 | [diff] [blame] | 7 | |
| 8 | MSVC-NOT: -fdwarf-exceptions |
| 9 | MSVC-NOT: -fseh-exceptions |
| 10 | MINGW-DWARF: -fdwarf-exceptions |
Martin Storsjo | 56f9c81 | 2018-12-18 08:36:10 +0000 | [diff] [blame] | 11 | MINGW-SEH: -munwind-tables |
Shoaib Meenai | 09edbdd | 2018-06-06 23:09:02 +0000 | [diff] [blame] | 12 | MINGW-SEH: -fseh-exceptions |