[llvm-commits] CVS: llvm/lib/System/FreeBSD/DynamicLibrary.cpp
Reid Spencer
reid at x10sys.com
Wed Nov 17 20:33:53 PST 2004
Changes in directory llvm/lib/System/FreeBSD:
DynamicLibrary.cpp added (r1.1)
---
Log message:
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.
---
Diffs of the changes: (+27 -0)
Index: llvm/lib/System/FreeBSD/DynamicLibrary.cpp
diff -c /dev/null llvm/lib/System/FreeBSD/DynamicLibrary.cpp:1.1
*** /dev/null Wed Nov 17 22:33:50 2004
--- llvm/lib/System/FreeBSD/DynamicLibrary.cpp Wed Nov 17 22:33:40 2004
***************
*** 0 ****
--- 1,27 ----
+ //===- FreeBSD/DynamicLibrary.cpp - FreeBSD 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 FreeBSD version of DynamicLibrary
+ //
+ //===----------------------------------------------------------------------===//
+
+ // Include the generic unix implementation
+ #include "../Unix/DynamicLibrary.cpp"
+
+ namespace llvm {
+ using namespace sys;
+
+ //===----------------------------------------------------------------------===//
+ //=== WARNING: Implementation here must contain only FreeBSD specific code
+ //=== and must not be generic UNIX code (see ../Unix/Memory.cpp)
+ //===----------------------------------------------------------------------===//
+
+ }
+
+ // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
More information about the llvm-commits
mailing list