[llvm-commits] [llvm] r122656 - /llvm/trunk/docs/WritingAnLLVMPass.html
Duncan Sands
baldrick at free.fr
Sat Jan 1 09:28:50 PST 2011
Author: baldrick
Date: Sat Jan 1 11:28:49 2011
New Revision: 122656
URL: http://llvm.org/viewvc/llvm-project?rev=122656&view=rev
Log:
I was unable to get the instructions to work if LLVM was built
using a separate objects directory.
Modified:
llvm/trunk/docs/WritingAnLLVMPass.html
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=122656&r1=122655&r2=122656&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Sat Jan 1 11:28:49 2011
@@ -178,9 +178,11 @@
<div class="doc_text">
- <p>First, you need to create a new directory somewhere in the LLVM source
+ <p>First, configure and build LLVM. This needs to be done directly inside the
+ LLVM source tree rather than in a separate objects directory.
+ Next, you need to create a new directory somewhere in the LLVM source
base. For this example, we'll assume that you made
- <tt>lib/Transforms/Hello</tt>. Next, you must set up a build script
+ <tt>lib/Transforms/Hello</tt>. Finally, you must set up a build script
(Makefile) that will compile the source code for the new pass. To do this,
copy the following into <tt>Makefile</tt>:</p>
<hr/>
More information about the llvm-commits
mailing list