[PATCH] D73861: Added DIBasicType scale/picture_string/digits/sign attribute support.

Chirag Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 21:10:55 PST 2020


Chirag added a comment.

In D73861#1872481 <https://reviews.llvm.org/D73861#1872481>, @probinson wrote:

> In D73861#1871591 <https://reviews.llvm.org/D73861#1871591>, @Chirag wrote:
>
> > I have created a small patch to separate DIFlags for DIBasicType. https://reviews.llvm.org/D74470
> >  I will modify this patch afterwards.
>
>
> Thanks, I will look at that soon.
>
> > The use case of this patch is to generate optional dwarf attributes DW_AT_digit_count/DW_AT_decimal_scale/DW_AT_binary_scale/DW_AT_decimal_sign/DW_AT_picture_string for languages like cobol, PL1, basic data types with encoding such as DW_ATE_edited DW_ATE_numeric_string  etc.
>
> That's more a statement of the functionality of the patch than the use-case.  You have a COBOL or PL/1 or BASIC compiler using LLVM?


Yes, we have Cobol and PL1 compilers using LLVM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73861/new/

https://reviews.llvm.org/D73861





More information about the llvm-commits mailing list