blob: c25410747f78f5d39f54cb6bda10f62eb9c3a6d1 [file] [log] [blame]
Galina Kistanova0ccb31c2011-06-03 22:24:54 +00001// REQUIRES: x86-64-registered-target
John McCall260611a2012-06-20 06:18:46 +00002// RUN: %clang_cc1 -g -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -S -masm-verbose -o - %s | FileCheck %s
Devang Pateleb4c45b2011-02-09 19:16:38 +00003// Radar 8801045
4// Do not emit AT_MIPS_linkage_name for static variable i
5
Eric Christopher66c08992012-12-27 02:20:24 +00006// CHECK: Lset6 = Linfo_string3-Linfo_string ## DW_AT_name
Nick Lewycky9c273ff2011-10-28 05:29:57 +00007// CHECK-NEXT: .long Lset6
Devang Pateleb4c45b2011-02-09 19:16:38 +00008// CHECK-NEXT: DW_AT_type
9// CHECK-NEXT: DW_AT_decl_file
10// CHECK-NEXT: DW_AT_decl_line
11// CHECK-NEXT: DW_AT_location
12
13@interface A {
14}
15-(void) foo;
16@end
17
18@implementation A
19-(void)foo {
20 static int i = 1;
21}
22@end
23