aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm-nodebug/llvm-target.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/llvm-nodebug/llvm-target.ads')
-rw-r--r--src/ortho/llvm-nodebug/llvm-target.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ortho/llvm-nodebug/llvm-target.ads b/src/ortho/llvm-nodebug/llvm-target.ads
index 17cd0427f..c5c89d84f 100644
--- a/src/ortho/llvm-nodebug/llvm-target.ads
+++ b/src/ortho/llvm-nodebug/llvm-target.ads
@@ -56,6 +56,13 @@ package LLVM.Target is
function CreateTargetData (StringRep : Cstring) return TargetDataRef;
pragma Import (C, CreateTargetData, "LLVMCreateTargetData");
+ -- Removed in LLVM 3.9 !!
+ -- Adds target data information to a pass manager. This does not take
+ -- ownership of the target data.
+ -- See the method llvm::PassManagerBase::add.
+ procedure AddTargetData(TD : TargetDataRef; PM : PassManagerRef);
+ pragma Import (C, AddTargetData, "LLVMAddTargetData");
+
-- Converts target data to a target layout string. The string must be
-- disposed with LLVMDisposeMessage.
-- See the constructor llvm::DataLayout::DataLayout. */