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

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 25 15:48:22 PDT 2017


xiaobai added a comment.

In https://reviews.llvm.org/D39307#907220, @clayborg wrote:

> It is a nice idea. I would still rather fix this in clang so it doesn't ask us about a variable it already knows about. Though this might be a good solution until we can fix it for real though. Sean or Jim?


>From what I can tell, in clang it looks like it's looking for a redeclaration of parameters (something like `int foo(int x, int x)`). Not entirely sure why it does that, and I'm not entirely sure why it would need to look beyond the Function Declaration scope to do that. When I get a chance, I can look into it more.


https://reviews.llvm.org/D39307





More information about the lldb-commits mailing list