================
@@ -162,7 +164,17 @@ class Symbol : public SymbolContextScope {
bool SetReExportedSymbolSharedLibrary(const FileSpec &fspec);
- Symbol *ResolveReExportedSymbol(Target &target) const;
+ /// Find the symbol this re-exported symbol resolves to.
+ ///
+ /// The library recorded on the symbol is searched first. If
+ /// \p containing_module_sp is provided, the libraries re-exported by that
+ /// module (ObjectFile::GetReExportedLibraries()) are then searched in
+ /// order. This matches the DT_FILTER / DT_AUXILIARY behavior in ELF, where
+ /// a filter library may reference multiple filtees and the dynamic linker
+ /// searches them in the order they appear in the dynamic section.
----------------
DavidSpickett wrote:
This should have some note about MachO then, because as written it looks like
this only focuses on ELF.
https://github.com/llvm/llvm-project/pull/208905
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits