================
@@ -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:

Tell me what behaviour has changed here if any.

(If it's just a refactor, please do it in a follow up PR instead)

https://github.com/llvm/llvm-project/pull/208905
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to