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

Djordje Todorovic via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 10 06:15:12 PDT 2019


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
> 


More information about the llvm-dev mailing list