Dynamic Library abstraction. This makes the abstraction of a single dynamic
library (shared library/shared object) whose symbols can be looked up
dynamically. Used for plug-ins.
llvm-svn: 17940
diff --git a/llvm/lib/System/SunOS/DynamicLibrary.cpp b/llvm/lib/System/SunOS/DynamicLibrary.cpp
new file mode 100644
index 0000000..494320f
--- /dev/null
+++ b/llvm/lib/System/SunOS/DynamicLibrary.cpp
@@ -0,0 +1,27 @@
+//===- SunOS/DynamicLibrary.cpp - SunOS Dynamic Library ---------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Reid Spencer and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the SunOS version of DynamicLibrary
+//
+//===----------------------------------------------------------------------===//
+
+// Include the generic unix implementation
+#include "../Unix/DynamicLibrary.cpp"
+
+namespace llvm {
+using namespace sys;
+
+//===----------------------------------------------------------------------===//
+//=== WARNING: Implementation here must contain only SunOS specific code
+//=== and must not be generic UNIX code (see ../Unix/Memory.cpp)
+//===----------------------------------------------------------------------===//
+
+}
+
+// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab