X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGarbageCollection.rst;h=b72227792b693cf6b8660f9a1063030771f45c83;hb=da07e9df843015f8c306ed7863dbb8c8055fd85f;hp=7765bd7d04cf5e7504e44a7a7cfd4a2f1af139d4;hpb=b64f020a30427e90a05530f8b20f1bddd1ab9e0a;p=oota-llvm.git diff --git a/docs/GarbageCollection.rst b/docs/GarbageCollection.rst index 7765bd7d04c..b72227792b6 100644 --- a/docs/GarbageCollection.rst +++ b/docs/GarbageCollection.rst @@ -5,9 +5,6 @@ Accurate Garbage Collection with LLVM .. contents:: :local: -.. sectionauthor:: Chris Lattner and - Gordon Henriksen - Introduction ============ @@ -767,8 +764,8 @@ 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) {