summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2017-04-20 14:22:47 +0000
committerAmaury Sechet <deadalnix@gmail.com>2017-04-20 14:22:47 +0000
commita52b03d2ea154f32856b9c984d61aa54f0cc3d78 (patch)
tree4c42e74a79d2ee03b93a5df303bc6cf1d692b6bf /llvm/include/llvm-c
parent23e79ec2b3414bbb30408f48ed422840253123e6 (diff)
downloadbcm5719-llvm-a52b03d2ea154f32856b9c984d61aa54f0cc3d78.tar.gz
bcm5719-llvm-a52b03d2ea154f32856b9c984d61aa54f0cc3d78.zip
Introduce LLVMDIBuilderRef
Summary: This patch adds a definition of `LLVMDIBuilderRef` that represents an `llvm::DIBuilder`. Authored by Harlan Haskins Reviewers: deadalnix, aprantl, probinson, dblaikie, echristo, whitequark Reviewed By: deadalnix, whitequark Subscribers: CodaFi, loladiro Differential Revision: https://reviews.llvm.org/D32122 llvm-svn: 300843
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Types.h b/llvm/include/llvm-c/Types.h
index 13fb36ec86e..d63ea4de933 100644
--- a/llvm/include/llvm-c/Types.h
+++ b/llvm/include/llvm-c/Types.h
@@ -97,6 +97,13 @@ typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
/**
+ * Represents an LLVM debug info builder.
+ *
+ * This models llvm::DIBuilder.
+ */
+typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
+
+/**
* Interface used to provide a module to JIT or interpreter.
* This is now just a synonym for llvm::Module, but we have to keep using the
* different type to keep binary compatibility.
OpenPOWER on IntegriCloud