clayborg added a comment.

In D58792#1415629 <https://reviews.llvm.org/D58792#1415629>, @zturner wrote:

> Out of curiosity, are there known, specific examples of users who rely on the 
> exact mangling not changing?


yes. Xcode. For Swift, Xcode runs the LLDBRPC.framework in process which runs 
lldb-rpc-server out of process with the DYLD_FRAMEWORK_PATH set to the 
directory that contains the LLDB.framework that lldb-rpc-server wants to run 
with. API is very important and without it this would not have been possible. 
So API is very important.

That being said, at some point we should make a lldb2 namespace and make a 
liblldb2.so and cull out all of the fluff we are keeping in there and get down 
to the exact API we want. We can then change things to be const where needed. 
remove redundant calls. In the name of backward compatibility we have functions 
that didn't return an error which now do so we have two versions of similar 
cal, one with error reporting and one without. Or the 5 flavors of CreateTarget 
in SBDebugger. There are many others. So at some point it would be nice to go 
through and reduce and improve the API. That will take time though cause if we 
do it, we should get it right.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58792/new/

https://reviews.llvm.org/D58792



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to