Sourabh Singh Tomar via llvm-dev
2019-Sep-10 11:58 UTC
[llvm-dev] Dwarf - 5 features in clang and llvm
Hello All, I was working on some dwarf-5 features and debugging optimized code support in clang and llvm. Noticed that, DW_TAG_call_site is supported in llvm middle-end. but clang is not emitting these. I was hoping, if someone could provide current status of these features and current status of dwarf-5 features in clang and llvm. That will be immensely helpful. Thanks! Sourabh. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190910/0c0a9e3f/attachment.html>
Djordje Todorovic via llvm-dev
2019-Sep-10 13:15 UTC
[llvm-dev] Dwarf - 5 features in clang and llvm
Hi Sourabh, Support for call-site related DWARF 5 tag/attributes is implemented very late, in the LLVM middle-end. Please note that there is also the IR-level flag (DIFlagAllCallsDescribed) that lowers to the DW_AT_call_all_calls. There is also support for call-site-parameter (DW_TAG_call_site_parameter) and the debug entry values (DW_OP_entry_value) related DWARF 5 symbols, but it is restricted by the CC1 option ‘-femit-debug-entry-values’, since the LLDB is still missing support for that. Best regards, Djordje On 10.9.19. 13:58, Sourabh Singh Tomar via llvm-dev wrote:> Hello All, > > I was working on some dwarf-5 features and debugging optimized code support in clang and llvm. > > Noticed that, DW_TAG_call_site is supported in llvm middle-end. but clang is not emitting these. > > I was hoping, if someone could provide current status of these features and current status of dwarf-5 features in clang and llvm. > That will be immensely helpful. > > Thanks! > Sourabh. > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Vedant Kumar via llvm-dev
2019-Sep-10 19:16 UTC
[llvm-dev] Dwarf - 5 features in clang and llvm
> On Sep 10, 2019, at 6:15 AM, Djordje Todorovic via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Sourabh, > > Support for call-site related DWARF 5 tag/attributes is implemented very late, in the LLVM middle-end. > Please note that there is also the IR-level flag (DIFlagAllCallsDescribed) that lowers to > the DW_AT_call_all_calls. > > There is also support for call-site-parameter (DW_TAG_call_site_parameter) and the debug entry values > (DW_OP_entry_value) related DWARF 5 symbols, but it is restricted by the CC1 option ‘-femit-debug-entry-values’, > since the LLDB is still missing support for that.Not for too long ;) See https://reviews.llvm.org/D67410 <https://reviews.llvm.org/D67410> & https://reviews.llvm.org/D67376 <https://reviews.llvm.org/D67376> best, vedant> > Best regards, > Djordje > > On 10.9.19. 13:58, Sourabh Singh Tomar via llvm-dev wrote: >> Hello All, >> >> I was working on some dwarf-5 features and debugging optimized code support in clang and llvm. >> >> Noticed that, DW_TAG_call_site is supported in llvm middle-end. but clang is not emitting these. >> >> I was hoping, if someone could provide current status of these features and current status of dwarf-5 features in clang and llvm. >> That will be immensely helpful. >> >> Thanks! >> Sourabh. >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190910/f7cd6979/attachment.html>
Apparently Analagous Threads
- Dwarf - 5 features in clang and llvm
- Dwarf - 5 features in clang and llvm
- [RFC] [DebugInfo] Using DW_OP_entry_value within LLVM IR
- [LLVM][DISubprogram][LL format updation query] Question regarding moving DISubprogram DIFlags to DISPFlag.
- [LLVM][DISubprogram][LL format updation query] Question regarding moving DISubprogram DIFlags to DISPFlag.