aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-12-28 01:16:31 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-12-28 01:16:31 +0000
commitebf75d75e2e78cd50b1e8f29f297a47246a525c0 (patch)
tree0f5502baa9c3c655aa9d63b553b628ee19b1b057
parentf42755ea9f0d8792e55dba28f1e013bc8223a676 (diff)
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171175 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenObjC/debug-info-static-var.m10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/CodeGenObjC/debug-info-static-var.m b/test/CodeGenObjC/debug-info-static-var.m
index c25410747f..2c10d59779 100644
--- a/test/CodeGenObjC/debug-info-static-var.m
+++ b/test/CodeGenObjC/debug-info-static-var.m
@@ -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 {
}