[llvm-dev] Dwarf - 5 features in clang and llvm

Vedant Kumar via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 10 12:16:46 PDT 2019



> 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>


More information about the llvm-dev mailing list