summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/Archive.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-20 12:42:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-20 12:42:00 +0000
commit623c90455f468f9f1afcfbcffb59caa7cb21b71d (patch)
tree67e53cc70077950a5719223b02257d2ddc556a53 /llvm/tools/llvm-ar/Archive.h
parente9df37407f3a57096e118f853bde6aef384fdd5c (diff)
downloadbcm5719-llvm-623c90455f468f9f1afcfbcffb59caa7cb21b71d.tar.gz
bcm5719-llvm-623c90455f468f9f1afcfbcffb59caa7cb21b71d.zip
Remove unused methods.
llvm-svn: 184415
Diffstat (limited to 'llvm/tools/llvm-ar/Archive.h')
-rw-r--r--llvm/tools/llvm-ar/Archive.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/tools/llvm-ar/Archive.h b/llvm/tools/llvm-ar/Archive.h
index 0fe72f42053..52fb0effb30 100644
--- a/llvm/tools/llvm-ar/Archive.h
+++ b/llvm/tools/llvm-ar/Archive.h
@@ -332,37 +332,6 @@ class Archive {
/// @brief Instantiate all the bitcode modules located in the archive
bool getAllModules(std::vector<Module*>& Modules, std::string* ErrMessage);
- /// This accessor looks up the \p symbol in the archive's symbol table and
- /// returns the associated module that defines that symbol. This method can
- /// be called as many times as necessary. This is handy for linking the
- /// archive into another module based on unresolved symbols. Note that the
- /// Module returned by this accessor should not be deleted by the caller. It
- /// is managed internally by the Archive class. It is possible that multiple
- /// calls to this accessor will return the same Module instance because the
- /// associated module defines multiple symbols.
- /// @returns The Module* found or null if the archive does not contain a
- /// module that defines the \p symbol.
- /// @brief Look up a module by symbol name.
- Module* findModuleDefiningSymbol(
- const std::string& symbol, ///< Symbol to be sought
- std::string* ErrMessage ///< Error message storage, if non-zero
- );
-
- /// This method is similar to findModuleDefiningSymbol but allows lookup of
- /// 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. 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.
- bool findModulesDefiningSymbols(
- std::set<std::string>& symbols, ///< Symbols to be sought
- SmallVectorImpl<Module*>& modules, ///< The modules matching \p symbols
- std::string* ErrMessage ///< Error msg storage, if non-zero
- );
-
/// This method determines whether the archive is a properly formed llvm
/// bitcode archive. It first makes sure the symbol table has been loaded
/// and has a non-zero size. If it does, then it is an archive. If not,
OpenPOWER on IntegriCloud