clayborg added a comment.

I just did a search through our test sources and we use GetError().GetCString() 
34 times in our test suites python files. So the SBError::GetCString() is being 
misused a lot like this already and is probably making some tests flaky. I 
would highly recommend we fix SBError::GetCString() to make sure things work 
correctly. If people are already doing this, or if they can do this with our 
API, then we should make our API as stable as possible for users even if it 
costs a bit more memory in our string pools.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134333

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

Reply via email to