[llvm-dev] [LLVM][DISubprogram][LL format updation query] Question regarding moving DISubprogram DIFlags to DISPFlag.

Chirag Patel via llvm-dev
Thu, 20 Feb 2020 06:51:19 -0000

Hello,

In regard to the review request https://reviews.llvm.org/D74470,
I am trying to move five of the DIFlags to DISPFlag for the moment namely
DIFlagExplicit, DIFlagPrototyped, DIFlagNoReturn, DIFlagThunk,
DIFlagAllCallsDescribed.
The llvm ir format for DISubprogram currently has backword compatibility where
the isLocal, isDefinition, virtuality, isOptimized and SPFlags are mutually
exclusive.
My question is,
is it a good idea to remove the booleans support'(isLocal, isDefinition) and
move most of it to spflags and flags in llvm ir? The llvm ir backward
compatibility does not list the clear requirements on documentations page. This
change affects more then 750 ll files.

Regards,
Chirag Partel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20200220/0ffe3376/attachment.html>