[PATCH] D54043: Adding debug info to support Fortran (part 1)

Eric Schweitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 11:57:01 PDT 2018


schweitz created this revision.
schweitz added reviewers: aprantl, hfinkel, probinson, greened.
schweitz added a project: debug-info.
Herald added subscribers: llvm-commits, JDevlieghere.

1. Elemental, Pure, and Recursive Procedures

DWARF 4 defines attributes for these Fortran procedure specifiers: DW_AT_elemental, DW_AT_pure, DW_AT_recursive, resp. LLVM has a way of informing the DWARF generator of simple boolean attributes in the metadata via the flags parameter. We have added these new values to the existing collection of flags.

!60 = !DISubprogram(…, flags: DIFlagElemental)
!61 = !DISubprogram(…, flags: DIFlagPure)
!62 = !DISubprogram(…, flags: DIFlagRecursive)


Repository:
  rL LLVM

https://reviews.llvm.org/D54043

Files:
  include/llvm/IR/DebugInfoFlags.def
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/IR/DebugInfoMetadata.cpp
  test/DebugInfo/fortran-subprogram-at.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54043.172410.patch
Type: text/x-patch
Size: 4533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/96bb3335/attachment.bin>


More information about the llvm-commits mailing list