diff options
Diffstat (limited to 'include')
-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; |