diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-01-30 01:01:36 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-01-30 01:01:36 +0000 |
commit | 6db65c1f5c6617043edf444d278ecb30fd1c8051 (patch) | |
tree | 3592b342681112c788a91354306e040f1a566daf /test | |
parent | 8ed225551fedd6c60499549065d26b41d19cceec (diff) | |
download | clang-6db65c1f5c6617043edf444d278ecb30fd1c8051.tar.gz |
Use an Itanium triple in DWARF debug info tests
This should fix the clang part of the breakage in r200340.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/debug-dead-local-var.c | 3 | ||||
-rw-r--r-- | test/CodeGen/debug-info-var-location.c | 3 | ||||
-rw-r--r-- | test/CodeGenCXX/debug-info-byval.cpp | 3 | ||||
-rw-r--r-- | test/CodeGenCXX/debug-info-ctor2.cpp | 3 | ||||
-rw-r--r-- | test/CodeGenCXX/debug-info-member.cpp | 3 | ||||
-rw-r--r-- | test/CodeGenCXX/debug-info-method-spec.cpp | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-class-extension.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-class-extension2.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property2.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property4.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property5.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-property-synth.m | 2 | ||||
-rw-r--r-- | test/CodeGenObjC/property-dbg.m | 3 |
14 files changed, 27 insertions, 14 deletions
diff --git a/test/CodeGen/debug-dead-local-var.c b/test/CodeGen/debug-dead-local-var.c index f9ca8f2f29..19cd6feafa 100644 --- a/test/CodeGen/debug-dead-local-var.c +++ b/test/CodeGen/debug-dead-local-var.c @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -mllvm -asm-verbose -S -O2 -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -mllvm -asm-verbose -triple %itanium_abi_triple -S -O2 -g %s -o - | FileCheck %s // Radar 8122864 // Code is not generated for function foo, but preserve type information of diff --git a/test/CodeGen/debug-info-var-location.c b/test/CodeGen/debug-info-var-location.c index 12edb08982..41da7d382c 100644 --- a/test/CodeGen/debug-info-var-location.c +++ b/test/CodeGen/debug-info-var-location.c @@ -1,4 +1,5 @@ -// RUN: %clang -S -g -fverbose-asm %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang -Xclang -triple=%itanium_abi_triple -S -g -fverbose-asm %s -o - | FileCheck %s // Radar 8461032 // CHECK: DW_AT_location // CHECK-NEXT: byte 145 diff --git a/test/CodeGenCXX/debug-info-byval.cpp b/test/CodeGenCXX/debug-info-byval.cpp index e6317fc2de..5b0850b964 100644 --- a/test/CodeGenCXX/debug-info-byval.cpp +++ b/test/CodeGenCXX/debug-info-byval.cpp @@ -1,4 +1,5 @@ -// RUN: %clang -g -S %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang -Xclang -triple=%itanium_abi_triple -g -S %s -o - | FileCheck %s // Test to check presence of debug info for byval parameter. // Radar 8350436. class DAG { diff --git a/test/CodeGenCXX/debug-info-ctor2.cpp b/test/CodeGenCXX/debug-info-ctor2.cpp index 19bd64b3cd..3bc931e984 100644 --- a/test/CodeGenCXX/debug-info-ctor2.cpp +++ b/test/CodeGenCXX/debug-info-ctor2.cpp @@ -1,4 +1,5 @@ -// RUN: %clang -fverbose-asm -g -S %s -o - | grep AT_explicit +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep AT_explicit class MyClass diff --git a/test/CodeGenCXX/debug-info-member.cpp b/test/CodeGenCXX/debug-info-member.cpp index 8c2e3ebded..7ba97b5b54 100644 --- a/test/CodeGenCXX/debug-info-member.cpp +++ b/test/CodeGenCXX/debug-info-member.cpp @@ -1,4 +1,5 @@ -// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_ACCESS_public +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_ACCESS_public class A { public: int x; diff --git a/test/CodeGenCXX/debug-info-method-spec.cpp b/test/CodeGenCXX/debug-info-method-spec.cpp index 2068c5ce4f..c00da004f4 100644 --- a/test/CodeGenCXX/debug-info-method-spec.cpp +++ b/test/CodeGenCXX/debug-info-method-spec.cpp @@ -1,4 +1,5 @@ -// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_AT_specification +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification // Radar 9254491 class A { public: diff --git a/test/CodeGenObjC/debug-info-class-extension.m b/test/CodeGenObjC/debug-info-class-extension.m index e1573f0633..0d1b720aa6 100644 --- a/test/CodeGenObjC/debug-info-class-extension.m +++ b/test/CodeGenObjC/debug-info-class-extension.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_objc_complete_type diff --git a/test/CodeGenObjC/debug-info-class-extension2.m b/test/CodeGenObjC/debug-info-class-extension2.m index bae12dce4e..383390c4ab 100644 --- a/test/CodeGenObjC/debug-info-class-extension2.m +++ b/test/CodeGenObjC/debug-info-class-extension2.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_objc_complete_type @interface Foo {} @end diff --git a/test/CodeGenObjC/debug-info-property.m b/test/CodeGenObjC/debug-info-property.m index dd105a58bd..6e2dcda8b5 100644 --- a/test/CodeGenObjC/debug-info-property.m +++ b/test/CodeGenObjC/debug-info-property.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name // CHECK: AT_APPLE_property_attribute diff --git a/test/CodeGenObjC/debug-info-property2.m b/test/CodeGenObjC/debug-info-property2.m index 4cd76c1ca6..41140dc204 100644 --- a/test/CodeGenObjC/debug-info-property2.m +++ b/test/CodeGenObjC/debug-info-property2.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name @interface C { diff --git a/test/CodeGenObjC/debug-info-property4.m b/test/CodeGenObjC/debug-info-property4.m index 71863a6b9f..2057d4d1d9 100644 --- a/test/CodeGenObjC/debug-info-property4.m +++ b/test/CodeGenObjC/debug-info-property4.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name // CHECK-NOT: AT_APPLE_property_getter diff --git a/test/CodeGenObjC/debug-info-property5.m b/test/CodeGenObjC/debug-info-property5.m index 272aa5de07..126d0a2677 100644 --- a/test/CodeGenObjC/debug-info-property5.m +++ b/test/CodeGenObjC/debug-info-property5.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name // CHECK: AT_APPLE_property_getter diff --git a/test/CodeGenObjC/debug-property-synth.m b/test/CodeGenObjC/debug-property-synth.m index 954620a635..f4bc922f1b 100644 --- a/test/CodeGenObjC/debug-property-synth.m +++ b/test/CodeGenObjC/debug-property-synth.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s // Radar 9468526 @interface I { int _p1; diff --git a/test/CodeGenObjC/property-dbg.m b/test/CodeGenObjC/property-dbg.m index 42ab611054..e0cac9850f 100644 --- a/test/CodeGenObjC/property-dbg.m +++ b/test/CodeGenObjC/property-dbg.m @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -S -g -masm-verbose -x objective-c < %s | grep DW_AT_name +// FIXME: Check IR rather than asm, then triple is not needed. +// RUN: %clang_cc1 -triple %itanium_abi_triple -S -g -masm-verbose -x objective-c < %s | grep DW_AT_name @interface Foo { int i; } |