[Lldb-commits] [PATCH] D83327: [lldb/Core] Fix incomplete type variable dereferencing crash.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 7 11:05:03 PDT 2020


jingham added a comment.

In D83327#2136814 <https://reviews.llvm.org/D83327#2136814>, @davide wrote:

> Aside from cosmetics, I'm not entirely sure this is the correct fix. Why are we calling this code _at all_ if the type is incomplete?


Doing so allows one to write a synthetic child provider that provides the fields for an incomplete type.  This is useful if you don't have debug info for a given type but know its layouts by some other means.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83327/new/

https://reviews.llvm.org/D83327





More information about the lldb-commits mailing list