blob: 5aa4743eba54b00cf35e0c7ff5f685ecf72cef2e [file] [log] [blame]
Shoaib Meenai09edbdd2018-06-06 23:09:02 +00001// 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 Storsjo5e100de2019-05-06 21:19:01 +00005// 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 Meenai09edbdd2018-06-06 23:09:02 +00007
8MSVC-NOT: -fdwarf-exceptions
9MSVC-NOT: -fseh-exceptions
10MINGW-DWARF: -fdwarf-exceptions
Martin Storsjo56f9c812018-12-18 08:36:10 +000011MINGW-SEH: -munwind-tables
Shoaib Meenai09edbdd2018-06-06 23:09:02 +000012MINGW-SEH: -fseh-exceptions