2018-06-07 07:09:02 +08:00
|
|
|
// RUN: %clang -target i686-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC %s
|
|
|
|
// RUN: %clang -target x86_64-windows-msvc -c %s -### 2>&1 | FileCheck -check-prefix=MSVC %s
|
|
|
|
// 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
|
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
|
|
|
|
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
|