search for: pr36420

Displaying 5 results from an estimated 5 matches for "pr36420".

2018 Mar 28
7
[RFC] Generate Debug Information for Labels in Function
...line 26. (gdb) c Continuing. Breakpoint 2, myfunction (arg=0) at explicit.c:27 27 ++j; /\* top location */ (gdb) However, LLVM does not generate debug information for labels. So, the feature could not work for binaries generated by clang. I also found that the problem is reported in PR35526 and PR36420. I propose an implementation plan to support debug information for labels. Following are the steps I propose to implement the feature. 1. Define debug metadata and intrinsic functions for labels. First of all, we need to record debug information in LLVM IR. In LLVM IR, LLVM uses metadata and int...
2018 Mar 28
0
[RFC] Generate Debug Information for Labels in Function
...Breakpoint 2, myfunction (arg=0) at explicit.c:27 > 27 ++j; /\* top location */ > (gdb) > > However, LLVM does not generate debug information for labels. So, the > feature could not work for binaries generated by clang. I also found > that the problem is reported in PR35526 and PR36420. I propose an > implementation plan to support debug information for labels. > > Following are the steps I propose to implement the feature. > > 1. Define debug metadata and intrinsic functions for labels. > > First of all, we need to record debug information in LLVM IR. In LLV...
2018 Mar 28
0
[RFC] Generate Debug Information for Labels in Function
...Breakpoint 2, myfunction (arg=0) at explicit.c:27 > 27 ++j; /\* top location */ > (gdb) > > However, LLVM does not generate debug information for labels. So, the > feature could not work for binaries generated by clang. I also found > that the problem is reported in PR35526 and PR36420. I propose an > implementation plan to support debug information for labels. > > Following are the steps I propose to implement the feature. > > 1. Define debug metadata and intrinsic functions for labels. > > First of all, we need to record debug information in LLVM IR. In LLV...
2018 Mar 29
0
[RFC] Generate Debug Information for Labels in Function
...Breakpoint 2, myfunction (arg=0) at explicit.c:27 > 27 ++j; /\* top location */ > (gdb) > > However, LLVM does not generate debug information for labels. So, the > feature could not work for binaries generated by clang. I also found > that the problem is reported in PR35526 and PR36420. I propose an > implementation plan to support debug information for labels. Thank you for working on this! I think it would be good to support labels better. IIRC it currently only generates them from assembler sources in place of a DW_TAG_subprogram. > Following are the steps I propose t...
2018 Mar 30
2
[RFC] Generate Debug Information for Labels in Function
...n (arg=0) at explicit.c:27 >> 27 ++j; /\* top location */ >> (gdb) >> >> However, LLVM does not generate debug information for labels. So, the >> feature could not work for binaries generated by clang. I also found >> that the problem is reported in PR35526 and PR36420. I propose an >> implementation plan to support debug information for labels. > > Thank you for working on this! I think it would be good to support labels better. IIRC it currently only generates them from assembler sources in place of a DW_TAG_subprogram. > > >> Following...