diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index a1d55649016..14148d13b9a 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -203,8 +203,8 @@ include $(LEVEL)/Makefile.common
This makefile specifies that all of the .cpp files in the current -directory are to be compiled and linked together into a -Debug+Asserts/lib/Hello.so shared object that can be dynamically loaded by +directory are to be compiled and linked together into a shared object +$(LEVEL)/Debug+Asserts/lib/Hello.so that can be dynamically loaded by the opt or bugpoint tools via their -load options. If your operating system uses a suffix other than .so (such as windows or Mac OS/X), the appropriate extension will be used.
@@ -341,8 +341,9 @@ is supplied as fourth argument.Now that it's all together, compile the file with a simple "gmake" -command in the local directory and you should get a new -"Debug+Asserts/lib/Hello.so file. Note that everything in this file is +command in the local directory and you should get a new file +"Debug+Asserts/lib/Hello.so" under the top level directory of the LLVM +source tree (not in the local directory). Note that everything in this file is contained in an anonymous namespace: this reflects the fact that passes are self contained units that do not need external interfaces (although they can have them) to be useful.