That's the other option of decoding error codes at the client, there is the
obvious downside of the common error table to become very big ? considering
the number of OS's and Targets ?
Also the lldb-server already knows the target, would be useful if it could
generate an error message as well ?
Th
On 22 June 2017 at 00:18, Stephane Sezer via lldb-dev
wrote:
> What's the specific use case that you're trying to support with error
> messages in the protocol? My initial thought on this is that it's not really
> the debug server's job to generate human-readable error messages and that
> the debu
On 22 June 2017 at 15:21, Erik Pilkington wrote:
>
>
>
> On June 22, 2017 at 5:51:39 AM, Pavel Labath (lab...@google.com) wrote:
>
> I don't have any concrete feedback, but:
>
> - +1 for removing the "FastDemagler"
>
> - If you already construct an AST as a part of your demangling
> process, would
This is Greg's area, he'll be able to answer in detail how the name chopper
gets used. IIRC it chops demangled names, so it is indirectly a client of the
demangler, but it doesn't use the demangler to do this directly. Name lookup
is done by finding all the base name matches, then comparing th
When I looked at demangler performance, I was able to make significant
improvements to the llvm demangler. At that point removing lldb's fast
demangler didn't hurt performance very much, but the fast demangler was
still faster. I forget (and apparently didn't write down) how much it
mattered, but
Another important criterium for the demangler in the debugger is that it 100%
cannot crash no matter what it gets fed. lldb used to have it's own copy of
the system demangler library because it had bugs, and we needed to be able to
fix them faster than the system version. We feed it all the sy
I’m just a new lurker here, so maybe this is obvious…
Is the string part of the programmatic interface? Or just a comment?
Does the same numeric code always have the same string?
If the same numeric code can have different strings, then the string
represents a specialization of the error code? I