1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 // rdar://problem/9468526
4 // Setting a breakpoint on a property should create breakpoints in
5 // synthesized getters/setters.
14 // Test that the linetable entries for the synthesized getter and
15 // setter are correct.
17 // CHECK: define {{.*}}[I p1]
19 // CHECK: load {{.*}}, !dbg ![[DBG1:[0-9]+]]
21 // CHECK: define {{.*}}[I setP1:]
23 // CHECK: load {{.*}}, !dbg ![[DBG2:[0-9]+]]
25 // CHECK: !DISubprogram(name: "-[I p1]",{{.*}} line: [[@LINE+4]],{{.*}} DISPFlagLocalToUnit | DISPFlagDefinition
26 // CHECK: ![[DBG1]] = !DILocation(line: [[@LINE+3]],
27 // CHECK: !DISubprogram(name: "-[I setP1:]",{{.*}} line: [[@LINE+2]],{{.*}} DISPFlagLocalToUnit | DISPFlagDefinition
28 // CHECK: ![[DBG2]] = !DILocation(line: [[@LINE+1]],