[DebugInfo] Emit DW_TAG_namelist and DW_TAG_namelist_item
author“bhkumarn” <Bhuvanendra.KumarN@amd.com>
Mon, 23 Aug 2021 12:43:11 +0000 (18:13 +0530)
committer“bhkumarn” <Bhuvanendra.KumarN@amd.com>
Mon, 30 Aug 2021 08:10:39 +0000 (13:40 +0530)
commit0a6fad754ed8f0812dd57357ce8071b02e962259
treea2438536632cc93c3c61106c4e0903d1bfde5eef
parent4fae60c4b0ed02dbb6e4c73e49197dd8dd8d4ccf
[DebugInfo] Emit DW_TAG_namelist and DW_TAG_namelist_item

This patch emits DW_TAG_namelist and DW_TAG_namelist_item for fortran
namelist variables. DICompositeType is extended to support this fortran
feature.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D108553
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/DebugInfo/X86/namelist1.ll [new file with mode: 0644]
llvm/test/DebugInfo/X86/namelist2.ll [new file with mode: 0644]