[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-thunk-msabi.cpp
blob0b8333b25a34af8265345433c58fd1b014d09699
1 // RUN: %clang_cc1 %s -triple i386-pc-windows-msvc19.0.0 -emit-llvm \
2 // RUN: -debug-info-kind=line-tables-only -fms-extensions -o - | FileCheck %s
3 class __declspec(dllexport) A {
4 A(int * = new int) {}
5 };
6 // CHECK: define {{.*}}void @"??_FA@@AAEXXZ"
7 // CHECK-SAME: !dbg ![[SP:[0-9]+]]
8 // CHECK-NOT: {{ret }}
9 // CHECK: call x86_thiscallcc noundef %class.A* @"??0A@@AAE@PAH@Z"
10 // CHECK-SAME: !dbg ![[DBG:[0-9]+]]
11 // CHECK: ret void, !dbg
13 // CHECK: ![[SP]] = distinct !DISubprogram(
14 // CHECK-SAME: line: 4
15 // CHECK-SAME: DIFlagArtificial
16 // CHECK-SAME: DISPFlagDefinition
17 // CHECK-SAME: ){{$}}
19 // CHECK: ![[DBG]] = !DILocation(line: 0