https://bugs.llvm.org/show_bug.cgi?id=42895

Davide Italiano <dav...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|teempe...@gmail.com         |lldb-dev@lists.llvm.org

--- Comment #3 from Davide Italiano <dav...@freebsd.org> ---
(In reply to Jim Ingham from comment #1)
> $<NUM> is the space reserved in the expression parser for result variables. 
> I don't think it is a good idea to name your registers $0...  If you are
> going to do that, then you probably need to teach the
> ClangPersistentVariables to start above the numbers you've taken over for
> registers.  But I think it would be less confusing if you chose a prefix for
> registers ($r0 or whatever).

LLDB shouldn't segfault regardless. Raphael fixed a similar bug recently, as
newer C/C++ standards allow identifiers to start with dollar sign, e.g. $0.
So, this happens to be an incarnation of a larger problem.

Raphael, do you have ideas on how to fix this?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to