llvm.org GIT mirror llvm / 4347cad
Remove some of the go specific C bindings for debug info now that they've been migrated into the main C API. Fixes a go bindings breakage after r317135. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317151 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 3 years ago
1 changed file(s) with 0 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
2626 void LLVMDIBuilderDestroy(LLVMDIBuilderRef dref) {
2727 DIBuilder *d = unwrap(dref);
2828 delete d;
29 }
30
31 void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) { unwrap(dref)->finalize(); }
32
33 LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Dref,
34 unsigned Lang, const char *File,
35 const char *Dir,
36 const char *Producer,
37 int Optimized, const char *Flags,
38 unsigned RuntimeVersion) {
39 DIBuilder *D = unwrap(Dref);
40 return wrap(D->createCompileUnit(Lang, D->createFile(File, Dir), Producer,
41 Optimized, Flags, RuntimeVersion));
42 }
43
44 LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Dref, const char *File,
45 const char *Dir) {
46 DIBuilder *D = unwrap(Dref);
47 return wrap(D->createFile(File, Dir));
4829 }
4930
5031 LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Dref,