[Lldb-commits] [lldb] [lldb] Add static_assert to catch increases to size of Symbol (PR #200919)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 2 07:29:03 PDT 2026


kastiglione wrote:

> Or we could just do a `#elif __SIZEOF_POINTER__ == 4 && !defined(_WIN32)` and simply not bother with tracking the size specifically on 32 bit Windows (as few probably care about that these days) - the static asserts for other platforms probably are enough for keeping track of not accidentally inflating the class anyway.

Good call, I went with this approach. https://github.com/llvm/llvm-project/pull/201130

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


More information about the lldb-commits mailing list