search for: dw_tag_string_type

Displaying 2 results from an estimated 2 matches for "dw_tag_string_type".

2018 Nov 01
4
Fwd: RFC: Adding debug information to LLVM to support Fortran
...!60 = !DISubprogram(…, flags: DIFlagElemental) !61 = !DISubprogram(…, flags: DIFlagPure) !62 = !DISubprogram(…, flags: DIFlagRecursive) 2. Fortran Type Support 2.1 CHARACTER Intrinsic Type There is no analog in C for the Fortran CHARACTER type. The Fortran CHARACTER type maps to the DWARF tag, DW_TAG_string_type. We have added a new named DI to LLVM to generate this DWARF information. !21 = !DIStringType(name: “character(5)”, size: 40) This produces the following DWARF information. DW_TAG_string_type: DW_AT_name: “character(5)” DW_AT_byte_size: 5 CHARACTER types ca...
2018 Nov 01
2
RFC: Adding debug information to LLVM to support Fortran
...ne class. I agree that the array stuff needs to be designed with an eye to handling how other languages do arrays, and leverage the common aspects. Several languages have runtime-sized arrays and it would be nice to handle them all the same way. However the CHARACTER type probably does want to be DW_TAG_string_type rather than an array. COBOL also has strings as a fundamental type. I guess we'll have to learn what all the Fortran array stuff actually means now… --paulr From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Adrian Prantl via llvm-dev Sent: Thursday, November 01, 2018 6:1...