From 2209f97d192d01b44de8ccf0f46119e7abf0fd76 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 3 Feb 2013 12:52:54 +0000 Subject: clang/test/CodeGenCXX/debug-info-class.cpp: Tweak to unbreak test for a few targets. - Relax a expression for arm-gnueabi. - Exclude msvc to limit target triplets to add limited a few targets. Feel free to remove actions if guys thought they redundant. llvm-svn: 174278 --- clang/test/CodeGenCXX/debug-info-class.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGenCXX/debug-info-class.cpp') diff --git a/clang/test/CodeGenCXX/debug-info-class.cpp b/clang/test/CodeGenCXX/debug-info-class.cpp index 2f81436bcf0..df2492603e3 100644 --- a/clang/test/CodeGenCXX/debug-info-class.cpp +++ b/clang/test/CodeGenCXX/debug-info-class.cpp @@ -1,4 +1,3 @@ -// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s struct foo; void func(foo *f) { } @@ -8,6 +7,7 @@ void func(bar *f) { union baz; void func(baz *f) { } + class B { public: virtual ~B(); @@ -30,7 +30,11 @@ int main(int argc, char **argv) { return 0; } -// CHECK: invoke void @_ZN1BD1Ev(%class.B* %b) +// RUN: %clang -target x86_64-unknown_unknown -emit-llvm -g -S %s -o - | FileCheck %s +// RUN: %clang -target i686-cygwin -emit-llvm -g -S %s -o - | FileCheck %s +// RUN: %clang -target armv7l-unknown-linux-gnueabihf -emit-llvm -g -S %s -o - | FileCheck %s + +// CHECK: invoke {{.+}} @_ZN1BD1Ev(%class.B* %b) // CHECK-NEXT: unwind label %{{.+}}, !dbg ![[EXCEPTLOC:.*]] // CHECK: store i32 0, i32* %{{.+}}, !dbg ![[RETLOC:.*]] // CHECK: DW_TAG_structure_type ] [foo] -- cgit v1.2.3