Be a bit more efficient when processing the active and inactive
[oota-llvm.git] / include / Support / DynamicLinker.h
index 9b0e749aebacea407de3dc445804239b29fd483c..fec9a45296cee48827a46281988d5bb27137ed1e 100644 (file)
@@ -1,4 +1,11 @@
 //===-- DynamicLinker.h - System-indep. DynamicLinker interface -*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // Lightweight interface to dynamic library linking and loading, and dynamic
 // symbol lookup functionality, in whatever form the operating system
@@ -11,6 +18,8 @@
 
 #include <string>
 
+namespace llvm {
+
 /// LinkDynamicObject - Load the named file as a dynamic library
 /// and link it with the currently running process. Returns false
 /// on success, true if there is an error (and sets ErrorMessage
@@ -26,4 +35,6 @@ bool LinkDynamicObject (const char *filename, std::string *ErrorMessage);
 void *GetAddressOfSymbol (const char *symbolName);
 void *GetAddressOfSymbol (const std::string &symbolName);
 
+} // End llvm namespace
+
 #endif // SUPPORT_DYNAMICLINKER_H