Use an Itanium triple in DWARF debug info tests

This should fix the clang part of the breakage in r200340.

llvm-svn: 200435
This commit is contained in:
Timur Iskhodzhanov 2014-01-30 01:01:36 +00:00
parent 7407e0e31c
commit ad47776d90
14 changed files with 27 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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;

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;
}