[Lldb-commits] [lldb] Change the return type of CalculateNumChildren to uint32_t. (PR #83501)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 5 13:54:05 PST 2024


adrian-prantl wrote:

> I would almost vote to change everything to uint64_t except for the public API since we can't change the API without breaking. Though I winder if we can actually change this one:

@bulbazord I discovered that the idea that these are 32-bit values is deeply baked into the code by use of UINT32_MAX sentinel values in multiple places. We can of course change that too at some point, but we're really not giving anything up with this patch that isn't already a limitation.

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


More information about the lldb-commits mailing list