[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
Tue Aug 8 17:27:25 PDT 2017


aprantl added a comment.

Hmm.. when I'm running your test I get:

  0x00000056:   DW_TAG_string_type [4]  
                  DW_AT_name [DW_FORM_strp]	( .debug_str[0x00000026] = "character")
                  DW_AT_encoding [DW_FORM_data1]	(DW_ATE_signed)
                  DW_AT_byte_size [DW_FORM_data1]	(0x01)
  
  0x0000005d:   NULL

But the standard says in 5.11:

> A string type entry may have a DW_AT_type attribute describing how each
>  character is encoded and is to be interpreted. The value of this attribute is a
>  reference to a DW_TAG_base_type base type entry. If the attribute is absent, then
>  the character is encoded using the system default.




https://reviews.llvm.org/D36480





More information about the llvm-commits mailing list