]> granicus.if.org Git - clang/commitdiff
clang/test/CodeGenCXX/debug-info-class.cpp: Tweak to unbreak test for a few targets.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 3 Feb 2013 12:52:54 +0000 (12:52 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 3 Feb 2013 12:52:54 +0000 (12:52 +0000)
  - 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174278 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-class.cpp

index 2f81436bcf0620638b44aba12a7a7369836cb5e5..df2492603e360bc182a54ce00a0ed0a7fe263d7e 100644 (file)
@@ -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]