[PATCH] D152095: DWARFVerifier: Verifies that definition subprograms cannot be nested within structures such as classes and structs
DianQK via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 4 07:17:06 PDT 2023
DianQK created this revision.
Herald added subscribers: cmtice, hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: All.
DianQK requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
We should nest declared subprograms within structures.
Typically, we nest defined subprograms within modules, namespaces, subprograms, or similar entries.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152095
Files:
llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
llvm/test/DebugInfo/Generic/cross-cu-inlining-2.ll
llvm/test/DebugInfo/Generic/cross-cu-inlining-ranges.ll
llvm/test/tools/llvm-dwarfdump/X86/debug_info_subprogram.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152095.528215.patch
Type: text/x-patch
Size: 17710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230604/af8aa77a/attachment.bin>
More information about the llvm-commits
mailing list