Author: dblaikie
Date: Thu Dec 27 19:16:31 2012
New Revision: 171175
URL: http://llvm.org/viewvc/llvm-project?rev=171175&view=rev
Log:
Change this to an IR test instead of an assembly test (as per comment in
r171134).
This makes the test not dependent on LLVM & won't vary/break based on LLVM
codegen related changes. Appropriately testing at the Clang level what was
fixed at the Clang level originally (in r124210).
Modified:
cfe/trunk/test/CodeGenObjC/debug-info-static-var.m
Modified: cfe/trunk/test/CodeGenObjC/debug-info-static-var.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-static-var.m?rev=171175&r1=171174&r2=171175&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-static-var.m (original)
+++ cfe/trunk/test/CodeGenObjC/debug-info-static-var.m Thu Dec 27 19:16:31 2012
@@ -1,14 +1,8 @@
-// REQUIRES: x86-64-registered-target
-// RUN: %clang_cc1 -g -triple x86_64-apple-darwin10
-fobjc-runtime=macosx-fragile-10.5 -S -masm-verbose -o - %s | FileCheck %s
+// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
// Radar 8801045
// Do not emit AT_MIPS_linkage_name for static variable i
-// CHECK: Lset6 = Linfo_string3-Linfo_string ## DW_AT_name
-// CHECK-NEXT: .long Lset6
-// CHECK-NEXT: DW_AT_type
-// CHECK-NEXT: DW_AT_decl_file
-// CHECK-NEXT: DW_AT_decl_line
-// CHECK-NEXT: DW_AT_location
+// CHECK: metadata !"i", metadata !"i", metadata !""
@interface A {
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits