X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/599556ff3dd31aab68bb9685f1ed7fc4867803e7..bee7e226299dacc6d80d9cf6f1585c3d5d0645e0:/src/ld/Resolver.h diff --git a/src/ld/Resolver.h b/src/ld/Resolver.h index 975772b..06b7a8b 100644 --- a/src/ld/Resolver.h +++ b/src/ld/Resolver.h @@ -72,7 +72,7 @@ public: void resolve(); - + private: struct WhyLiveBackChain { @@ -102,6 +102,7 @@ private: void remainingUndefines(std::vector&); bool printReferencedBy(const char* name, SymbolTable::IndirectBindingSlot slot); void tweakWeakness(); + void buildArchivesList(); void doLinkerOption(const std::vector& linkerOption, const char* fileName); void dumpAtoms(); @@ -126,6 +127,7 @@ private: ld::Internal& _internal; std::vector _atoms; std::set _deadStripRoots; + std::vector _dontDeadStripIfReferencesLive; std::vector _atomsWithUnresolvedReferences; std::vector _aliasesFromCmdLine; SymbolTable _symbolTable;