• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: x86-64-registered-target
2// RUN: %clang_cc1 -g -triple x86_64-apple-darwin10 -S -masm-verbose -o - %s | FileCheck %s
3// Radar 8801045
4// Do not emit AT_MIPS_linkage_name for static variable i
5
6// CHECK:  DW_TAG_variable
7// CHECK-NEXT:        .byte   105                     ## DW_AT_name
8// CHECK-NEXT:        .byte   0
9// CHECK-NEXT:        DW_AT_type
10// CHECK-NEXT:        DW_AT_decl_file
11// CHECK-NEXT:        DW_AT_decl_line
12// CHECK-NEXT:        DW_AT_location
13
14@interface A {
15}
16-(void) foo;
17@end
18
19@implementation A
20-(void)foo {
21  static int i = 1;
22}
23@end
24
25