diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-08-24 22:47:39 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-08-24 22:47:39 +0000 |
commit | 44407c4503a7f00535106eaf7b5932668343f754 (patch) | |
tree | 53bb277936c5f04803cce90ea755d442c747837d /include/llvm/Module.h | |
parent | e0cf59e52ffd267f0da4b423fc0b979016bb1665 (diff) |
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
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index e2aa33c562..5d527b13be 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; |