| 1 |
// RUN: %clang -target x86_64-windows-gnu -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SEH |
| 2 |
// RUN: %clang -target i686-windows-gnu -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-DWARF |
| 3 |
|
| 4 |
// RUN: %clang -target x86_64-windows-gnu -fsjlj-exceptions -c %s -### 2>&1 | \ |
| 5 |
// RUN: FileCheck %s --check-prefix=CHECK-SJLJ |
| 6 |
|
| 7 |
// RUN: %clang -target x86_64-windows-gnu -fdwarf-exceptions -c %s -### 2>&1 | \ |
| 8 |
// RUN: FileCheck %s --check-prefix=CHECK-DWARF |
| 9 |
|
| 10 |
// RUN: %clang -target x86_64-windows-gnu -fsjlj-exceptions -fseh-exceptions -c %s -### 2>&1 | \ |
| 11 |
// RUN: FileCheck %s --check-prefix=CHECK-SEH |
| 12 |
|
| 13 |
// RUN: %clang -target x86_64-windows-gnu -fseh-exceptions -fsjlj-exceptions -c %s -### 2>&1 | \ |
| 14 |
// RUN: FileCheck %s --check-prefix=CHECK-SJLJ |
| 15 |
|
| 16 |
// RUN: %clang -target x86_64-windows-gnu -fseh-exceptions -fdwarf-exceptions -c %s -### 2>&1 | \ |
| 17 |
// RUN: FileCheck %s --check-prefix=CHECK-DWARF |
| 18 |
|
| 19 |
// CHECK-SEH: "-exception-model=seh" |
| 20 |
// CHECK-SJLJ: "-exception-model=sjlj" |
| 21 |
// CHECK-DWARF-NOT: "-exception-model=sjlj" |
| 22 |
// CHECK-DWARF-NOT: "-exception-model=seh" |