[Lldb-commits] [lldb] [lldb] Remove Function null checks in Block.cpp (PR #137611)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 28 07:32:50 PDT 2025


DavidSpickett wrote:

> We can't change the signature of CalculateSymbolContextFunction as it's an abstract function (and some of its implementations can return nullptr)

By which you mean, because there are still use cases for `CalculateSymbolContextFunction` to return `nullptr`, so it must remain.

As opposed to how I first read this which was, because it was exposed in some ABI we had to maintain.

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


More information about the lldb-commits mailing list