X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FWritingAnLLVMPass.rst;h=a35802811b6b8707e663866d0b05f9116d99b988;hb=53fbda20e98149dc991df87dbcea7dea8ece392f;hp=1d5a52f21b3fa6029f532dbad25295a0c0aaacf3;hpb=de5df29556542ad6a73d6bf0296a7c6b86afc760;p=oota-llvm.git diff --git a/docs/WritingAnLLVMPass.rst b/docs/WritingAnLLVMPass.rst index 1d5a52f21b3..a35802811b6 100644 --- a/docs/WritingAnLLVMPass.rst +++ b/docs/WritingAnLLVMPass.rst @@ -47,14 +47,11 @@ source tree in the ``lib/Transforms/Hello`` directory. Setting up the build environment -------------------------------- -.. FIXME: Why does this recommend to build in-tree? - -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 ``lib/Transforms/Hello``. 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 ``Makefile``: +First, configure and build LLVM. Next, you need to create a new directory +somewhere in the LLVM source base. For this example, we'll assume that you +made ``lib/Transforms/Hello``. 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 ``Makefile``: .. code-block:: make