llvm.org GIT mirror llvm / 98dfa5e
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300843 91177308-0d34-0410-b5e6-96231b3b80d8 Amaury Sechet 2 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
777777 }
778778 };
779779
780 // Create wrappers for C Binding types (see CBindingWrapping.h).
781 DEFINE_ISA_CONVERSION_FUNCTIONS(DIBuilder, LLVMDIBuilderRef)
782
780783 } // end namespace llvm
781784
782785 #endif // LLVM_IR_DIBUILDER_H
9696 typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
9797
9898 /**
99 * Represents an LLVM debug info builder.
100 *
101 * This models llvm::DIBuilder.
102 */
103 typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
104
105 /**
99106 * Interface used to provide a module to JIT or interpreter.
100107 * This is now just a synonym for llvm::Module, but we have to keep using the
101108 * different type to keep binary compatibility.