[llvm-commits] CVS: llvm/include/llvm/Module.h

Reid Spencer reid at x10sys.com
Tue Aug 24 15:47:50 PDT 2004



Changes in directory llvm/include/llvm:

Module.h updated: 1.48 -> 1.49
---
Log message:

Provide a method for wholesale extraction of the dependent libraries.


---
Diffs of the changes:  (+3 -0)

Index: llvm/include/llvm/Module.h
diff -u llvm/include/llvm/Module.h:1.48 llvm/include/llvm/Module.h:1.49
--- llvm/include/llvm/Module.h:1.48	Sun Jul 25 16:28:19 2004
+++ llvm/include/llvm/Module.h	Tue Aug 24 17:47:39 2004
@@ -243,6 +243,9 @@
   /// @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;
 






More information about the llvm-commits mailing list