DmT021 wrote:

I implemented the solution with a callback and used it in 
`IRExecutionUnit::FindInSymbols` and `SymbolContext::FindBestGlobalDataSymbol`. 
But it's not very suitable for `ClangExpressionDeclMap::GetSymbolAddress` :-/
Also, for some reason I'm getting `UNEXPECTED SUCCESS: test_shadowed 
(TestConflictingSymbol.TestConflictingSymbols.test_shadowed)`. I tried to stick 
to the original algorithm of `SymbolContext::FindBestGlobalDataSymbol` as close 
as possible. I'll check if it fails on CI as well.

https://github.com/llvm/llvm-project/pull/102835
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to