[Lldb-commits] [lldb] [lldb][TypeSystem] Ensure that ParmVarDecls have the correct DeclContext (PR #124279)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 27 02:23:14 PST 2025


Michael137 wrote:

> Losing it would not be the end of the world, but the extra detail in the diagnostic seems nice, even if it was only working for free functions. How hard would it be to plumb the names in?

Yea shouldn't be tooo bad. We could add a `llvm::SmallVector<std::string>` (or similar) parameter to `ParseChildParameters` and populate it via `DW_AT_name`s. Then just pass it to `CreateParameterDeclarations`. Happy to do that too.

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


More information about the lldb-commits mailing list