[Lldb-commits] [lldb] [LLDB][NFC] Create a namespace for the DWARF plugin (PR #68150)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 6 07:57:02 PDT 2023


JDevlieghere wrote:

In the previous iteration of this PR, @bulbazord suggested keeping this in the `lldb_private` namespace. Something like `lldb_private::plugin::dwarf` for example? Is there a reason to make this not part of `lldb_private`? As Jim pointed out in that thread, the way LLDB plugins work today, you're stuck with the unstable private API anyway, so being explicit about that might be nice? 

Is the goals to do the same for other plugins as well? Seems like that could be a largely mechanical change. If we enforce the use of the namesake, it might make it more obvious when folks accidentally try to use them in generic code. WDYT?

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


More information about the lldb-commits mailing list