mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 16:46:09 +00:00

The relevant runtime libraries have been updated to support this now. Differential Revision: https://reviews.llvm.org/D126871
19 lines
1.3 KiB
C++
19 lines
1.3 KiB
C++
// 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
|
|
// 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
|
|
// 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
|
|
// 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
|
|
|
|
MSVC-NOT: -exception-model=dwarf
|
|
MSVC-NOT: -exception-model=seh
|
|
MSVC-NOSEH-NOT: -funwind-tables=2
|
|
MSVC-SEH: -funwind-tables=2
|
|
MINGW-DWARF: -exception-model=dwarf
|
|
MINGW-SEH: -funwind-tables=2
|
|
MINGW-SEH: -exception-model=seh
|