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