[Lldb-commits] [lldb] [LLDB] Complete constant array member types in class members (PR #156370)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 2 05:45:19 PDT 2025


Michael137 wrote:

Actually, what you want to do is probably just call `TypeSystemClang::RequireCompleteType` on the element type. This is basically what the PDB plugin does:
```
https://github.com/llvm/llvm-project/blob/6042e090fac8b06d64666348fe4ca6ca6e4f77db/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp#L685-L695
```

But I suspect this code came before `RequireCompleteType` got introduced. We can probably just change the PDB plugin to call `RequireCompleteType` instead too. Though Since we're removing that plugin anyway, leaving it as-is is fine too.

https://github.com/llvm/llvm-project/pull/156370


More information about the lldb-commits mailing list