From: Adrian Prantl Date: Wed, 16 Nov 2016 19:26:11 +0000 (+0000) Subject: Add the missing FileCheck invocation to this testcase. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e8e1a309993503e2f6ea4a71b10b6ca98daf681;p=clang Add the missing FileCheck invocation to this testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287139 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-thunk-msabi.cpp b/test/CodeGenCXX/debug-info-thunk-msabi.cpp index 3c9e2e0873..4f4be3f3cd 100644 --- a/test/CodeGenCXX/debug-info-thunk-msabi.cpp +++ b/test/CodeGenCXX/debug-info-thunk-msabi.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 %s -triple i386-pc-windows-msvc19.0.0 -emit-obj \ -// RUN: -debug-info-kind=line-tables-only -fms-extensions +// RUN: %clang_cc1 %s -triple i386-pc-windows-msvc19.0.0 -emit-llvm \ +// RUN: -debug-info-kind=line-tables-only -fms-extensions -o - | FileCheck %s class __declspec(dllexport) A { A(int * = new int) {} }; @@ -8,12 +8,13 @@ class __declspec(dllexport) A { // CHECK-NOT: {{ret }} // CHECK: call x86_thiscallcc %class.A* @"\01??0A@@AAE@PAH@Z"(%class.A* %this1, i32* %0) // CHECK-SAME: !dbg ![[DBG:[0-9]+]] -// CHECK: ret void, !dbg ![[DBG]] +// CHECK: ret void, !dbg ![[DBG1:[0-9]+]] // // CHECK: ![[SP]] = distinct !DISubprogram( -// CHECK-SAME: line: 3 +// CHECK-SAME: line: 4 // CHECK-SAME: isDefinition: true // CHECK-SAME: DIFlagArtificial // CHECK-SAME: ){{$}} // +// CHECK: ![[DBG1]] = !DILocation(line: 0 // CHECK: ![[DBG]] = !DILocation(line: 0