[all-commits] [llvm/llvm-project] 357f6c: [flang] Add design document for debug info generat...

abidh via All-commits all-commits at lists.llvm.org
Thu Apr 11 09:53:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 357f6c7826437f6527db6f99f756a34fb5e0f716
      https://github.com/llvm/llvm-project/commit/357f6c7826437f6527db6f99f756a34fb5e0f716
  Author: abidh <haqadeer at amd.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    A flang/docs/DebugGeneration.md
    M flang/docs/index.md

  Log Message:
  -----------
  [flang] Add design document for debug info generation. (#86939)

This document discusses some options where the debug metadata can be
generated. It also goes through various language constructs and explains
how the debug metadata will look like for that construct and how we can
extract that information.

The real point of discussion is how and where to extract the information
about various language features to generate the debug metadata. The
structure of the metadata itself is mostly settled as that is dictated by
the DWARF and structure of LLVM IR metadata. The classic flang
and gfortran generate quite similar DWARF for the various language
constructs.

This document is based on what Kiran posted in
https://reviews.llvm.org/D138534.

---------

Co-authored-by: Tom Eccles <t at freedommail.info>
Co-authored-by: Kiran Chandramohan <kiranchandramohan at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list