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

Djordje Todorovic via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 10 23:32:16 PDT 2019


Great to see this! :)

Best,
Djordje

On 10.9.19. 21:16, Vedant Kumar wrote:
> 
> 
>> On Sep 10, 2019, at 6:15 AM, Djordje Todorovic via llvm-dev <llvm-dev at lists.llvm.org <mailto: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/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 <mailto: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 <mailto:llvm-dev at lists.llvm.org>
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> 


More information about the llvm-dev mailing list