mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Make findModulesDefiningSymbols modify its symbols argument so we can \
eliminate symbols defined by the archive efficiently git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -396,11 +396,14 @@ class Archive {
|
||||
/// more than one symbol at a time. If \p symbols contains a list of
|
||||
/// undefined symbols in some module, then calling this method is like
|
||||
/// making one complete pass through the archive to resolve symbols but is
|
||||
/// more efficient than looking at the individual members.
|
||||
/// more efficient than looking at the individual members. Note that on
|
||||
/// exit, the symbols resolved by this method will be removed from \p
|
||||
/// symbols to ensure they are not re-searched on a subsequent call. If
|
||||
/// you need to retain the list of symbols, make a copy.
|
||||
/// @brief Look up multiple symbols in the archive.
|
||||
void findModulesDefiningSymbols(
|
||||
const std::set<std::string>& symbols, ///< Symbols to be sought
|
||||
std::set<ModuleProvider*>& modules ///< The modules matching \p symbols
|
||||
std::set<std::string>& symbols, ///< Symbols to be sought
|
||||
std::set<ModuleProvider*>& modules ///< The modules matching \p symbols
|
||||
);
|
||||
|
||||
/// @}
|
||||
|
Reference in New Issue
Block a user