]> granicus.if.org Git - clang/commitdiff
Use an Itanium triple in DWARF debug info tests
authorTimur Iskhodzhanov <timurrrr@google.com>
Thu, 30 Jan 2014 01:01:36 +0000 (01:01 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Thu, 30 Jan 2014 01:01:36 +0000 (01:01 +0000)
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

14 files changed:
test/CodeGen/debug-dead-local-var.c
test/CodeGen/debug-info-var-location.c
test/CodeGenCXX/debug-info-byval.cpp
test/CodeGenCXX/debug-info-ctor2.cpp
test/CodeGenCXX/debug-info-member.cpp
test/CodeGenCXX/debug-info-method-spec.cpp
test/CodeGenObjC/debug-info-class-extension.m
test/CodeGenObjC/debug-info-class-extension2.m
test/CodeGenObjC/debug-info-property.m
test/CodeGenObjC/debug-info-property2.m
test/CodeGenObjC/debug-info-property4.m
test/CodeGenObjC/debug-info-property5.m
test/CodeGenObjC/debug-property-synth.m
test/CodeGenObjC/property-dbg.m

index f9ca8f2f297debe1c916bd276622f6e332ef30c1..19cd6feafa70ea0674cde6d70b2d8a7025e0a8a0 100644 (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
index 12edb0898274ab2e312867a2ac91eaa39a6e1d30..41da7d382cb557567c09e9946ccc2d753f111c28 100644 (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
index e6317fc2de0efcf88b97d13df2bda9f81bd47fca..5b0850b9643cc790c050f375b57f15c4bd686531 100644 (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 {
index 19bd64b3cdadab7d0d1e5030fc64fdea34312798..3bc931e984487bd72def14cffba500935a655102 100644 (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
index 8c2e3ebded4b8b7d12b4c62a46fb13051e40d2e8..7ba97b5b54e711a66413e1eb8154fbfec205bebb 100644 (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;
index 2068c5ce4fad681ebd35030cab92ba43e89e847e..c00da004f456ebd2169e2b5b51e99b9fc0e0ef36 100644 (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:
index e1573f063377f5967001d12c48e9719cef025e3f..0d1b720aa67766925738e85c2225b9290a8d5241 100644 (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
 
index bae12dce4e4d54971a0aee535de69753a6155e6d..383390c4ab3122bafbc1d561ccd267c95fc33ab8 100644 (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
index dd105a58bdf41aa77c73d3fbef6dc24a40ccab67..6e2dcda8b54ba7a21fb25a43363a1d7b998681a6 100644 (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
index 4cd76c1ca6dc395e0a1ca3ffda7552b9d45c857d..41140dc20425c4be840febc1eb72b9d933ddedc9 100644 (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 {
index 71863a6b9f3bb1c3060e6bbe164a9a5804cd47f8..2057d4d1d97460bd6c50a15577ba9edf8b58e993 100644 (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
index 272aa5de0760b9a7a5eb5d4f71c366c67ea5b966..126d0a2677e22cf2fbde996c7bb5fc59d1be90bc 100644 (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
index 954620a635980763a3567ac8b3979b8b430fc2de..f4bc922f1bd90f3a6a75a66c4c188a9c0717ebb1 100644 (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;
index 42ab6110541d0e062b90b87f0306a5773d5e7ec1..e0cac9850f25880ef044164145b3bd052c3db6cd 100644 (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;
 }