brintos

brintos / llvm-project-archived public Read only

0
0
Text · 375 B · 7696163 Raw
17 lines · plain
1// RUN: %clang_cc1 -x objective-c -emit-llvm -debug-info-kind=limited < %s | FileCheck %s2// Test to check that "self" argument is assigned a location.3// CHECK: #dbg_declare(ptr %self.addr, [[SELF:![0-9]*]], !{{.*}})4// CHECK: [[SELF]] = !DILocalVariable(name: "self", arg: 1,5 6@interface Foo 7-(void) Bar: (int)x ;8@end9 10 11@implementation Foo12-(void) Bar: (int)x 13{14}15@end16 17