================
@@ -340,14 +340,12 @@ BreakpointResolverName::SearchCallback(SearchFilter
&filter,
break_addr.Slide(prologue_byte_size);
}
} else if (sc.symbol) {
- if (sc.symbol->GetType() == eSymbolTypeReExported) {
- const Symbol *actual_symbol =
- sc.symbol->ResolveReExportedSymbol(breakpoint.GetTarget());
- if (actual_symbol) {
- is_reexported = true;
- break_addr = actual_symbol->GetAddress();
- }
- } else {
+ const Symbol *actual_symbol = sc.symbol->ResolveReExportedSymbol(
+ breakpoint.GetTarget(), sc.module_sp);
+ if (actual_symbol) {
+ is_reexported = true;
+ break_addr = actual_symbol->GetAddress();
+ } else if (sc.symbol->GetType() != eSymbolTypeReExported) {
----------------
DavidSpickett wrote:
Ok so some of the logic has been sunk into ResolveReExportedSymbol, basically?
For MachO it'll find the tag right away without having to do a lot of work, for
ELF, we have extra work to do.
In other words: the MachO path is the same in terms of work done, right?
https://github.com/llvm/llvm-project/pull/208905
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits