From 44407c4503a7f00535106eaf7b5932668343f754 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 24 Aug 2004 22:47:39 +0000 Subject: [PATCH] Provide a method for wholesale extraction of the dependent libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16038 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Module.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Module.h b/include/llvm/Module.h index e2aa33c5626..5d527b13be2 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -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; -- 2.34.1