[Lldb-commits] [PATCH] D39307: Fix global data symbol resolution

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 25 18:05:10 PDT 2017


On Wed, Oct 25, 2017 at 4:59 PM Jim Ingham via Phabricator <
reviews at reviews.llvm.org> wrote:

> jingham added a comment.
>
> Note, BTW, we absolutely need some way to say "this symbol from this
> library".  But first of all, if we're going to do this you need to be able
> to mix & match within an expression which you can't do with a flag to
> expr.   Instead you need something like:
>
> (lldb) expr $$MyDylib$my_symbol + $$MyOtherDylib$my_other_symbol
>
> That syntax is ugly, we should try to think of something better.  But the
> main point is this should only be necessary when lldb can't find a unique
> symbol.  When we can no intervention should be required.
>

+1, this is very useful.  The Microsoft syntax for this is here:

https://docs.microsoft.com/en-us/visualstudio/debugger/context-operator-cpp

Which is pretty nice imo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171026/fbbdcc63/attachment.html>


More information about the lldb-commits mailing list