r174278 - clang/test/CodeGenCXX/debug-info-class.cpp: Tweak to unbreak test for a few targets.
NAKAMURA Takumi
geek4civic at gmail.com
Sun Feb 3 04:52:55 PST 2013
Author: chapuni
Date: Sun Feb 3 06:52:54 2013
New Revision: 174278
URL: http://llvm.org/viewvc/llvm-project?rev=174278&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGenCXX/debug-info-class.cpp
Modified: cfe/trunk/test/CodeGenCXX/debug-info-class.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-class.cpp?rev=174278&r1=174277&r2=174278&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-class.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-class.cpp Sun Feb 3 06:52:54 2013
@@ -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]
More information about the cfe-commits
mailing list