[PATCH] D36480: [LLVM] Change to Verifier to allow Fortran CHARACTER types in debug information

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 08:40:26 PDT 2017


aprantl added a comment.

With this patch's encoding I'm a little worried by the discrepancy between the size and tag.
What about representing strings as `!DIDerivedType(tag: DW_TAG_string_type, baseType: !DIBasicType(name: "character", size: 8, align: 8, encoding: DW_ATE_signed)` instead?
The patch would be just as simple (allowing the string type tag in DIDerivedType instead), but the representation would be closer to what will be emitted in the end.


https://reviews.llvm.org/D36480





More information about the llvm-commits mailing list