[llvm-dev] DWARFv5 DW_FORM_implicit_const support in LLVM

Jini Susan George via llvm-dev
Tue, 05 Nov 2019 07:54:30 -0000

Hello folks,


I was interested in the support we have for the attribute form
DW_FORM_implicit_const (DWARFv5 feature) in clang/LLVM. And I had some
doubts wrt this. I noticed that support for this was put in here in 2017:



https://rev.ng/gitlab/revng-bar-2019/llvm/commit/d9df13befcbc702e239b650dd1f55778d72b8571



>From what I could make out, the support for generating
DW_FORM_implicit_const is there, but I could not make out the DWARF
attributes for which this form is being generated currently. Are there any
attributes for which this form is generated currently ?



Gcc typically generates this form for a bunch of attributes like:
DW_AT_decl_file, DW_AT_decl_column, DW_AT_accessibility, DW_AT_defaulted,
DW_AT_byte_size, etc



Any pointers are deeply appreciated.


Thanks,

Jini.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20191105/32ebf5df/attachment.html>