[lldb-dev] [BUG?] Confusion between translation units?
Ramkumar Ramachandra via lldb-dev
lldb-dev at lists.llvm.org
Mon Oct 26 12:45:15 PDT 2015
Greg Clayton <gclayton at apple.com> wrote:
> Note that for C++ we get the fully qualified name and we pass in an empty Declaration() so they all will compare to the same thing. This would solve our current issue. We would also need to add the items to this map in the same way: for C++ get the fully qualified name and add the entry to the map with the fully qualified name and an empty Declaration...
I didn't realize that the solution would be this simple, conceptually.
> Can you try this solution out and see if it fixes our issues?
This does seem to work for one library but not another.
My best guess would be that the solution works when dynamically
linking to conflicting symbols, but not when the conflicting symbols
are statically linked. Does that make sense?
More information about the lldb-dev