[cfe-commits] r167332 - in /cfe/trunk/test/CodeGenObjC: debug-info-impl.m debug-info-pubtypes.m
David Blaikie
dblaikie at gmail.com
Fri Nov 2 16:07:41 PDT 2012
Author: dblaikie
Date: Fri Nov 2 18:07:41 2012
New Revision: 167332
URL: http://llvm.org/viewvc/llvm-project?rev=167332&view=rev
Log:
Avoid version skew by making ObjC strict metadata tests resilient to new field.
Modified:
cfe/trunk/test/CodeGenObjC/debug-info-impl.m
cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m
Modified: cfe/trunk/test/CodeGenObjC/debug-info-impl.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-impl.m?rev=167332&r1=167331&r2=167332&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-impl.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-impl.m Fri Nov 2 18:07:41 2012
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -S -emit-llvm %s -o - | FileCheck %s
-// CHECK: metadata !{i32 {{.*}}, metadata {{.*}}, metadata !"Circle", metadata {{.*}}, i32 11, i64 64, i64 64, i32 0, i32 512, null, metadata {{.*}}, i32 16, i32 0} ; [ DW_TAG_structure_type ]
+// CHECK: metadata !{i32 {{.*}}, metadata {{.*}}, metadata !"Circle", metadata {{.*}}, i32 11, i64 64, i64 64, i32 0, i32 512, null, metadata {{.*}}, i32 16, i32 0{{(, i32 0)?}}} ; [ DW_TAG_structure_type ]
@interface NSObject {
struct objc_object *isa;
}
Modified: cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m?rev=167332&r1=167331&r2=167332&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-pubtypes.m Fri Nov 2 18:07:41 2012
@@ -1,7 +1,7 @@
// REQUIRES: x86-64-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s
-// CHECK: !5 = metadata !{i32 {{.*}}, metadata !6, metadata !"H", metadata !6, i32 6, i64 0, i64 8, i32 0, i32 512, null, metadata !2, i32 16, i32 0} ; [ DW_TAG_structure_type ]
+// CHECK: !5 = metadata !{i32 {{.*}}, metadata !6, metadata !"H", metadata !6, i32 6, i64 0, i64 8, i32 0, i32 512, null, metadata !2, i32 16, i32 0{{(, i32 0)?}}} ; [ DW_TAG_structure_type ]
@interface H
-(void) foo;
More information about the cfe-commits
mailing list