summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-24 22:47:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-24 22:47:39 +0000
commit44407c4503a7f00535106eaf7b5932668343f754 (patch)
tree53bb277936c5f04803cce90ea755d442c747837d /include
parente0cf59e52ffd267f0da4b423fc0b979016bb1665 (diff)
downloadllvm-44407c4503a7f00535106eaf7b5932668343f754.tar.gz
llvm-44407c4503a7f00535106eaf7b5932668343f754.tar.bz2
llvm-44407c4503a7f00535106eaf7b5932668343f754.tar.xz
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')
-rw-r--r--include/llvm/Module.h3
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;