[Lldb-commits] [PATCH] Don't crash if a member declaration is incomplete

Keno Fischer kfischer at college.harvard.edu
Wed Jun 17 10:32:01 PDT 2015


Hi clayborg,

This is progress toward PR19676/PR20781 and should have both cases error rather than crashing the debugger
(The former PR already had a similar work around, but I believe the original test case had the same issue as PR20781, so it never fully worked). Ideally, we need to figure out how to search other images in the process for a definition of this class at this point, instead of just pretending it's empty (which is what this patch does), but I don't know enough about LLDB to make that happen. Pointers appreciated.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10509

Files:
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  source/Symbol/ClangASTType.cpp
  test/types/TestForwardTypes.py
  test/types/forward_inheritance.cpp
  test/types/forward_member.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10509.27845.patch
Type: text/x-patch
Size: 4919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150617/e3a059a1/attachment.bin>


More information about the lldb-commits mailing list