[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html

Reid Spencer reid at x10sys.com
Mon Aug 7 18:48:32 PDT 2006



Changes in directory llvm/docs:

WritingAnLLVMPass.html updated: 1.45 -> 1.46
---
Log message:

Update the instructions for writing a pass as a loadable module per the
new definition in MakefileGuilde.html and Makefile.rules.


---
Diffs of the changes:  (+6 -4)

 WritingAnLLVMPass.html |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)


Index: llvm/docs/WritingAnLLVMPass.html
diff -u llvm/docs/WritingAnLLVMPass.html:1.45 llvm/docs/WritingAnLLVMPass.html:1.46
--- llvm/docs/WritingAnLLVMPass.html:1.45	Fri Aug  4 13:10:12 2006
+++ llvm/docs/WritingAnLLVMPass.html	Mon Aug  7 20:48:17 2006
@@ -178,13 +178,15 @@
 # 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>
@@ -1732,7 +1734,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2006/08/04 18:10:12 $
+  Last modified: $Date: 2006/08/08 01:48:17 $
 </address>
 
 </body>






More information about the llvm-commits mailing list