llvm.org GIT mirror llvm / a7bd1c6
Fix go bindings after r289702 (hopefully, don't really know how to build them, build.sh seems to be broken). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289775 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Jasper 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3939 int Optimized, const char *Flags,
4040 unsigned RuntimeVersion) {
4141 DIBuilder *D = unwrap(Dref);
42 return wrap(D->createCompileUnit(Lang, File, Dir, Producer, Optimized, Flags,
43 RuntimeVersion));
42 return wrap(D->createCompileUnit(Lang, D->createFile(File, Dir), Producer,
43 Optimized, Flags, RuntimeVersion));
4444 }
4545
4646 LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Dref, const char *File,