r200435 - Use an Itanium triple in DWARF debug info tests
Timur Iskhodzhanov
timurrrr at google.com
Wed Jan 29 17:01:36 PST 2014
Author: timurrrr
Date: Wed Jan 29 19:01:36 2014
New Revision: 200435
URL: http://llvm.org/viewvc/llvm-project?rev=200435&view=rev
Log:
Use an Itanium triple in DWARF debug info tests
This should fix the clang part of the breakage in r200340.
Modified:
cfe/trunk/test/CodeGen/debug-dead-local-var.c
cfe/trunk/test/CodeGen/debug-info-var-location.c
cfe/trunk/test/CodeGenCXX/debug-info-byval.cpp
cfe/trunk/test/CodeGenCXX/debug-info-ctor2.cpp
cfe/trunk/test/CodeGenCXX/debug-info-member.cpp
cfe/trunk/test/CodeGenCXX/debug-info-method-spec.cpp
cfe/trunk/test/CodeGenObjC/debug-info-class-extension.m
cfe/trunk/test/CodeGenObjC/debug-info-class-extension2.m
cfe/trunk/test/CodeGenObjC/debug-info-property.m
cfe/trunk/test/CodeGenObjC/debug-info-property2.m
cfe/trunk/test/CodeGenObjC/debug-info-property4.m
cfe/trunk/test/CodeGenObjC/debug-info-property5.m
cfe/trunk/test/CodeGenObjC/debug-property-synth.m
cfe/trunk/test/CodeGenObjC/property-dbg.m
Modified: cfe/trunk/test/CodeGen/debug-dead-local-var.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-dead-local-var.c?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-dead-local-var.c (original)
+++ cfe/trunk/test/CodeGen/debug-dead-local-var.c Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGen/debug-info-var-location.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-var-location.c?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-var-location.c (original)
+++ cfe/trunk/test/CodeGen/debug-info-var-location.c Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenCXX/debug-info-byval.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-byval.cpp?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-byval.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-byval.cpp Wed Jan 29 19:01:36 2014
@@ -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 {
Modified: cfe/trunk/test/CodeGenCXX/debug-info-ctor2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-ctor2.cpp?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-ctor2.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-ctor2.cpp Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenCXX/debug-info-member.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-member.cpp?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-member.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-member.cpp Wed Jan 29 19:01:36 2014
@@ -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;
Modified: cfe/trunk/test/CodeGenCXX/debug-info-method-spec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-method-spec.cpp?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-method-spec.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-method-spec.cpp Wed Jan 29 19:01:36 2014
@@ -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:
Modified: cfe/trunk/test/CodeGenObjC/debug-info-class-extension.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-class-extension.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-class-extension.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-class-extension.m Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/debug-info-class-extension2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-class-extension2.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-class-extension2.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-class-extension2.m Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/debug-info-property.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-property.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-property.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-property.m Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/debug-info-property2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-property2.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-property2.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-property2.m Wed Jan 29 19:01:36 2014
@@ -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 {
Modified: cfe/trunk/test/CodeGenObjC/debug-info-property4.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-property4.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-property4.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-property4.m Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/debug-info-property5.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-property5.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-property5.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-property5.m Wed Jan 29 19:01:36 2014
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/debug-property-synth.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-property-synth.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-property-synth.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-property-synth.m Wed Jan 29 19:01:36 2014
@@ -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;
Modified: cfe/trunk/test/CodeGenObjC/property-dbg.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/property-dbg.m?rev=200435&r1=200434&r2=200435&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/property-dbg.m (original)
+++ cfe/trunk/test/CodeGenObjC/property-dbg.m Wed Jan 29 19:01:36 2014
@@ -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;
}
More information about the cfe-commits
mailing list