[Lldb-commits] [lldb] Fix return value of 'PluginManager::RegisterPlugin()'. (PR #114120)

Miro Bucko via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 25 11:38:27 PST 2024


mbucko wrote:

> We obviously aren't checking this return anywhere. The only way it can return false that I can see is if you call RegisterPlugin with no callback pointer - which seems more like a programming error than a run-time check. Do we actually need this bool return?

It is indeed being checked in many places, I tried removing it and the compiler was not happy :)

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


More information about the lldb-commits mailing list