diff options
author | Robert Widmann <devteam.codafi@gmail.com> | 2018-05-10 21:10:06 +0000 |
---|---|---|
committer | Robert Widmann <devteam.codafi@gmail.com> | 2018-05-10 21:10:06 +0000 |
commit | 4b0084bfcf4a7997c962af228257b7e9d22bcfdd (patch) | |
tree | 5be54729ead01a378f600cf01b927fad2c61856b /llvm/include/llvm-c | |
parent | 11a18a7902dad9982d80301bf575266a353b1ac5 (diff) | |
download | bcm5719-llvm-4b0084bfcf4a7997c962af228257b7e9d22bcfdd.tar.gz bcm5719-llvm-4b0084bfcf4a7997c962af228257b7e9d22bcfdd.zip |
[LLVM-C] Consolidate llgo's DIBuilder Bindings
Summary: Move and correct LLVMDIBuilderCreateTypedef. This is the last API in DIBuilderBindings.h, so it is being removed and the C API will now be re-exported from IRBindings.h.
Reviewers: whitequark, harlanhaskins, deadalnix
Reviewed By: whitequark
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D46725
llvm-svn: 332041
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/DebugInfo.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/DebugInfo.h b/llvm/include/llvm-c/DebugInfo.h index 6f12b48f4c6..0576eecd9ef 100644 --- a/llvm/include/llvm-c/DebugInfo.h +++ b/llvm/include/llvm-c/DebugInfo.h @@ -674,6 +674,21 @@ LLVMMetadataRef LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder); /** + * Create debugging information entry for a typedef. + * \param Builder The DIBuilder. + * \param Type Original type. + * \param Name Typedef name. + * \param File File where this type is defined. + * \param LineNo Line number. + * \param Scope The surrounding context for the typedef. +*/ +LLVMMetadataRef +LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, + const char *Name, size_t NameLen, + LLVMMetadataRef File, unsigned LineNo, + LLVMMetadataRef Scope); + +/** * Create a permanent forward-declared type. * \param Builder The DIBuilder. * \param Tag A unique tag for this type. |