[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 13 04:18:28 PDT 2026


Nerixyz wrote:

> You probably already know this, but the effect of saying something might have a dynamic type is that if asked, lldb will try to determine whether the dynamic type exists. It's perfectly happy to fail finding a dynamic type for something that might have been, so it's always better to err on the side of saying something might have a dynamic type, than saying it isn't.

I'm only marking types dynamic that have a v(f/b)table, because only for those lldb can resolve the dynamic type. As far as I know, that's also what the DWARF AST builder does.

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


More information about the lldb-commits mailing list