search for: d45043

Displaying 3 results from an estimated 3 matches for "d45043".

Did you mean: d35043
2018 Mar 29
0
[RFC] Generate Debug Information for Labels in Function
...g.label, to associate DILabel with > label statement. > > DILabel will contain name of the label, file metadata, line number, > and scope metadata. > > Intrinsic function llvm.dbg.label uses DILabel metadata as its parameter. Looking at your testcase in https://reviews.llvm.org/D45043 br label %top top: call void @llvm.dbg.label(metadata !10), !dbg !11 %0 = load i32, i32* %a.addr, align 4 Modelling the IR this way is problematic. In a llvm.dbg.value intrinsic we tie the SSA value the intrinsic describes to the intrinsic by making it an explicit argument of the intrinsi...
2018 Mar 30
2
[RFC] Generate Debug Information for Labels in Function
...ith >> label statement. >> >> DILabel will contain name of the label, file metadata, line number, >> and scope metadata. >> >> Intrinsic function llvm.dbg.label uses DILabel metadata as its parameter. > > Looking at your testcase in https://reviews.llvm.org/D45043 > > > br label %top > > top: > call void @llvm.dbg.label(metadata !10), !dbg !11 > %0 = load i32, i32* %a.addr, align 4 > > Modelling the IR this way is problematic. In a llvm.dbg.value intrinsic we tie the SSA value the intrinsic describes to the intrinsic by makin...
2018 Mar 28
7
[RFC] Generate Debug Information for Labels in Function
Hello all, I would like to enhance LLVM debug info that supports setting breakpoint on labels in function. Generally, if users use GDB as their debugger, they could set breakpoints on labels in function. Following is an example. // C program static int myfunction (int arg) { int i, j, r; j = 0; /* myfunction location */ r = arg; top: ++j; /* top location */ if (j == 10) goto