| 1 |
// RUN: %clang_dxc -Tlib_6_7 -### -g %s 2>&1 | FileCheck %s |
| 2 |
// RUN: %clang_dxc -Tlib_6_7 -### /Zi %s 2>&1 | FileCheck %s |
| 3 |
// RUN: %clang_dxc -Tlib_6_7 -### /Zi /Qembed_debug %s 2>&1 | FileCheck %s |
| 4 |
// RUN: %clang_dxc -Tlib_6_7 -### -Zi %s 2>&1 | FileCheck %s |
| 5 |
// RUN: %clang_dxc -Tlib_6_7 -### -Zi -Qembed_debug %s 2>&1 | FileCheck %s |
| 6 |
// RUN: %clang_dxc -Tlib_6_7 -### -Zi -gcodeview %s 2>&1 | FileCheck %s -check-prefixes=CHECK,CHECK-CV |
| 7 |
// RUN: %clang_dxc -Tlib_6_7 -### -Zi -gdwarf %s 2>&1 | FileCheck %s -check-prefixes=CHECK,CHECK-DWARF |
| 8 |
// RUN: %clang_dxc -Tlib_6_7 -### -gcodeview -Zi %s 2>&1 | FileCheck %s -check-prefixes=CHECK,CHECK-CV |
| 9 |
// RUN: %clang_dxc -Tlib_6_7 -### -gdwarf -Zi %s 2>&1 | FileCheck %s -check-prefixes=CHECK,CHECK-DWARF |
| 10 |
|
| 11 |
// CHECK: "-cc1" |
| 12 |
// CHECK-CV-SAME: -gcodeview |
| 13 |
// CHECK-SAME: "-debug-info-kind=constructor" |
| 14 |
// Make sure dwarf-version is 4. |
| 15 |
// CHECK-DWARF-SAME: -dwarf-version=4 |