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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17940 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-11-18 04:33:39 +00:00
parent f348e3abfc
commit 0de02a6ba9
12 changed files with 488 additions and 0 deletions

View File

@ -0,0 +1,27 @@
//===- Linux/DynamicLibrary.cpp - Linux 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 Linux version of DynamicLibrary
//
//===----------------------------------------------------------------------===//
// Include the generic unix implementation
#include "../Unix/DynamicLibrary.cpp"
namespace llvm {
using namespace sys;
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only Linux specific code
//=== and must not be generic UNIX code (see ../Unix/Memory.cpp)
//===----------------------------------------------------------------------===//
}
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab