2022-05-03 05:22:27 +08:00
|
|
|
// RUN: %clang -target i686-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC -check-prefix=MSVC-NOSEH %s
|
|
|
|
// RUN: %clang -target x86_64-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC -check-prefix=MSVC-SEH %s
|
|
|
|
// RUN: %clang -target armv7-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC -check-prefix=MSVC-SEH %s
|
|
|
|
// RUN: %clang -target aarch64-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC -check-prefix=MSVC-SEH %s
|
2018-06-07 07:09:02 +08:00
|
|
|
// RUN: %clang -target i686-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s
|
|
|
|
// RUN: %clang -target x86_64-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s
|
2022-05-03 22:45:36 +08:00
|
|
|
// RUN: %clang -target armv7-windows-gnu -fdwarf-exceptions -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s
|
|
|
|
// RUN: %clang -target armv7-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s
|
2019-05-07 05:19:01 +08:00
|
|
|
// RUN: %clang -target aarch64-windows-gnu -fdwarf-exceptions -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-DWARF %s
|
|
|
|
// RUN: %clang -target aarch64-windows-gnu -c %s -### 2>&1 | FileCheck -check-prefix=MINGW-SEH %s
|
2018-06-07 07:09:02 +08:00
|
|
|
|
2020-12-15 16:59:19 +08:00
|
|
|
MSVC-NOT: -exception-model=dwarf
|
|
|
|
MSVC-NOT: -exception-model=seh
|
2022-05-03 05:22:27 +08:00
|
|
|
MSVC-NOSEH-NOT: -funwind-tables=2
|
|
|
|
MSVC-SEH: -funwind-tables=2
|
2020-12-15 16:59:19 +08:00
|
|
|
MINGW-DWARF: -exception-model=dwarf
|
2021-09-24 07:15:40 +08:00
|
|
|
MINGW-SEH: -funwind-tables=2
|
2020-12-15 16:59:19 +08:00
|
|
|
MINGW-SEH: -exception-model=seh
|