[Lldb-commits] [PATCH] D47276: 2/3: Use DWARFBasicDIE as compile-time protection

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 23 12:03:40 PDT 2018


jankratochvil created this revision.
jankratochvil added reviewers: labath, clayborg.
Herald added subscribers: JDevlieghere, aprantl.

As suggested by Pavel Labath in https://reviews.llvm.org/D46810 `DWARFUnit::GetUnitDIEOnly()` returning a pointer to `m_first_die` should not permit using methods like `GetFirstChild()`.


https://reviews.llvm.org/D47276

Files:
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  source/Plugins/SymbolFile/DWARF/DWARFUnit.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47276.148268.patch
Type: text/x-patch
Size: 4035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180523/507138a7/attachment.bin>


More information about the lldb-commits mailing list