clayborg wrote:

So no plug-ins currently exist in the lldb_private namespace. I would rather 
not have all plug-in code end up in the lldb_private namespace either if people 
want access to these unsafe APIs outside of lldb. Maybe we should be creating a 
lldb_plugins namespace, and each plugin would have its own namespace inside 
this, so the DWARF stuff may be in:
```
namespace lldb_plugins {
namespace dwarf {
...
}
}
```
Then add new cmake flags as needed to export only certain plugins if/when 
needed. Don't need to do all plug-ins in this new namespace with this patch, 
just the DWARF code. We can then allow users to specify exactly what they want 
to export and it can limit it to just what is needed.

But I am still not a fan of exporting private APIs that are going to change all 
of the time. 

https://github.com/llvm/llvm-project/pull/67851
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to