Set REQUIRES shell on the test cases for r186044
[oota-llvm.git] / docs / GarbageCollection.rst
index f3b4bc359038f74bde9785b2c0066d7e63af366c..b72227792b693cf6b8660f9a1063030771f45c83 100644 (file)
@@ -5,9 +5,6 @@ Accurate Garbage Collection with LLVM
 .. contents::
    :local:
 
-.. sectionauthor:: Chris Lattner <sabre@nondot.org>  and
-                   Gordon Henriksen
-
 Introduction
 ============
 
@@ -758,17 +755,17 @@ If ``CustomReadBarriers`` or ``CustomWriteBarriers`` are specified, then
 ``performCustomLowering`` **must** eliminate the corresponding barriers.
 
 ``performCustomLowering`` must comply with the same restrictions as
-`FunctionPass::runOnFunction <WritingAnLLVMPass.html#runOnFunction>`__
+:ref:`FunctionPass::runOnFunction <writing-an-llvm-pass-runOnFunction>`
 Likewise, ``initializeCustomLowering`` has the same semantics as
-`Pass::doInitialization(Module&)
-<WritingAnLLVMPass.html#doInitialization_mod>`__
+:ref:`Pass::doInitialization(Module&)
+<writing-an-llvm-pass-doInitialization-mod>`
 
 The following can be used as a template:
 
 .. code-block:: c++
 
-  #include "llvm/Module.h"
-  #include "llvm/IntrinsicInst.h"
+  #include "llvm/IR/Module.h"
+  #include "llvm/IR/IntrinsicInst.h"
 
   bool MyGC::initializeCustomLowering(Module &M) {
     return false;
@@ -918,10 +915,10 @@ map for the entire module, and may access the ``GCFunctionInfo`` using its own
 .. code-block:: c++
 
   #include "llvm/CodeGen/AsmPrinter.h"
-  #include "llvm/Function.h"
-  #include "llvm/Target/TargetMachine.h"
-  #include "llvm/DataLayout.h"
+  #include "llvm/IR/Function.h"
+  #include "llvm/IR/DataLayout.h"
   #include "llvm/Target/TargetAsmInfo.h"
+  #include "llvm/Target/TargetMachine.h"
 
   void MyGCPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP,
                                   const TargetAsmInfo &TAI) {