[Lldb-commits] [lldb] [lldb][FreeBSDKernelCore] Do not include <cstddef> (PR #186193)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 11:48:47 PDT 2026


mchoo7 wrote:

> Just because you can doesn’t mean you should. IWYU would say this header should still be included rather than implicitly relying on some other header already including it, no?

KGDB doesn't explicitly include `<cstddef>` (see [here](https://cgit.freebsd.org/ports/tree/devel/gdb/files/kgdb/amd64fbsd-kern.c)) so I thought it would be safe to do so. Would you like me to revert this PR? I'm fine with both.

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


More information about the lldb-commits mailing list