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

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 7 11:05:36 PDT 2020


mib 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?


The code is called because some incomplete types can actually be typedefs. In this case, we use the pointee type to create the ValueObject child (in ValueObject::CreateChildAtIndex)


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