summaryrefslogtreecommitdiff
path: root/docs/GarbageCollection.rst
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-07-08 19:59:35 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-07-08 19:59:35 +0000
commite5a532dae346f5f34d8ae8fa3f8f0ff3c747243e (patch)
treed312b3185c66cf7428b7f7b5a2c44e9edc39bb6b /docs/GarbageCollection.rst
parent881b0b5c77ec3f6849e32b7763b6c75057b81501 (diff)
downloadllvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.gz
llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.bz2
llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.xz
IR headers moved to llvm/IR some aeons ago, update documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GarbageCollection.rst')
-rw-r--r--docs/GarbageCollection.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/GarbageCollection.rst b/docs/GarbageCollection.rst
index 5c3a1af23c..b72227792b 100644
--- a/docs/GarbageCollection.rst
+++ b/docs/GarbageCollection.rst
@@ -764,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;
@@ -915,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) {