Update the instructions for writing a pass as a loadable module per the

new definition in MakefileGuilde.html and Makefile.rules.

llvm-svn: 29563
This commit is contained in:
Reid Spencer 2006-08-08 01:48:17 +00:00
parent 03c7b425a2
commit dc30910fe0

View File

@ -178,13 +178,15 @@ LEVEL = ../../..
# Name of the library to build
LIBRARYNAME = Hello
# Build a dynamically linkable shared object
SHARED_LIBRARY = 1
# Make the shared library become a loadable module so the tools can
# dlopen/dlsym on the resulting library.
LOADABLE_MODULE = 1
# Tell the build system which LLVM libraries your pass needs. You'll probably
# need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several
# others too.
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
# Include the makefile implementation stuff
include $(LEVEL)/Makefile.common
</pre></div>