diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-03 12:52:54 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-03 12:52:54 +0000 |
commit | 2209f97d192d01b44de8ccf0f46119e7abf0fd76 (patch) | |
tree | aa98be1ac6384eac3a07bb4948b0409be2289f3c /clang/test/CodeGenCXX/debug-info-class.cpp | |
parent | be1100e192f48855092b0bd19e28374a3dff0282 (diff) | |
download | bcm5719-llvm-2209f97d192d01b44de8ccf0f46119e7abf0fd76.tar.gz bcm5719-llvm-2209f97d192d01b44de8ccf0f46119e7abf0fd76.zip |
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
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-class.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-class.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
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] |