From a52b03d2ea154f32856b9c984d61aa54f0cc3d78 Mon Sep 17 00:00:00 2001 From: Amaury Sechet Date: Thu, 20 Apr 2017 14:22:47 +0000 Subject: 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 --- llvm/include/llvm-c/Types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'llvm/include/llvm-c') 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 @@ -96,6 +96,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 -- cgit v1.2.3