Provide a method for wholesale extraction of the dependent libraries.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 24 Aug 2004 22:47:39 +0000 (22:47 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 24 Aug 2004 22:47:39 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16038 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Module.h

index e2aa33c56260e6637489158b7894255a4ecc1563..5d527b13be235929e400073a289cc72790789c52 100644 (file)
@@ -243,6 +243,9 @@ public:
   /// @brief Remove a library from the list of dependent libraries
   inline void removeLibrary(const std::string& Lib);
 
+  /// @brief Get all the libraries 
+  inline const LibraryListType& getLibraries() const { return LibraryList; }
+
   void print(std::ostream &OS) const { print(OS, 0); }
   void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;