[Lldb-commits] [lldb] [lldb] Add `nullptr` literal to DIL (PR #208831)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 15 04:13:41 PDT 2026


kuilpd wrote:

> LGTM except you need a test to assert that nullptr doesn't shadow a variable of the same name in the frame.

I made a separate test after all. If I put `nullptr` variable in the same binary where I also try to resolve it as a null pointer, DIL will still find it as a global variable, and we don't have a way to pass the setting that disables that through SB API.

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


More information about the lldb-commits mailing list