[PATCH] D87935: DebugInfo: Filter DWARFv5 TUs out of the debug_info unit list when CUs requested

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 13:11:27 PDT 2020


dblaikie created this revision.
dblaikie added reviewers: echristo, aprantl, probinson, JDevlieghere, jhenderson.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
dblaikie requested review of this revision.

Since DWARFv5 places TUs in debug_info, some of DWARFContext's APIs have
become a bit erroneous, including TUs in the CU list by accident.

[One of two/three possible solutions]


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87935

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87935.292885.patch
Type: text/x-patch
Size: 4913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200918/2b59cd6b/attachment.bin>


More information about the llvm-commits mailing list