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
|
|
|
|
|
|
|
MSVC-NOT: -fdwarf-exceptions
|
|
|
|
MSVC-NOT: -fseh-exceptions
|
|
|
|
MINGW-DWARF: -fdwarf-exceptions
|
2018-12-18 16:36:10 +08:00
|
|
|
MINGW-SEH: -munwind-tables
|
2018-06-07 07:09:02 +08:00
|
|
|
MINGW-SEH: -fseh-exceptions
|