[PATCH] D122584: [DebugInfo] Use DW_ATE_signed encoding when creating a Fortran array index type.
Chih-Ping Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 03:30:50 PDT 2022
cchen15 added a comment.
IMHO, it's a bit excessive to go through DISubrange for this simple language-specific attribute; plus, doing that would require a DIBuilder API change. DwarfUnit::getDefaultLowerBound probably went through a similar discussion and it's currently using getLanguage. Perhaps these can all be overhauled based on your suggestion when support is needed for some language that allows non-integer array index type, and we go forward with this simple change for now?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122584/new/
https://reviews.llvm.org/D122584
More information about the llvm-commits
mailing list