mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix go bindings after r289702 (hopefully, don't really know how to build
them, build.sh seems to be broken). llvm-svn: 289775
This commit is contained in:
parent
08e2cd7f5e
commit
b695aa5e48
@ -40,8 +40,8 @@ LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Dref,
|
||||
int Optimized, const char *Flags,
|
||||
unsigned RuntimeVersion) {
|
||||
DIBuilder *D = unwrap(Dref);
|
||||
return wrap(D->createCompileUnit(Lang, File, Dir, Producer, Optimized, Flags,
|
||||
RuntimeVersion));
|
||||
return wrap(D->createCompileUnit(Lang, D->createFile(File, Dir), Producer,
|
||||
Optimized, Flags, RuntimeVersion));
|
||||
}
|
||||
|
||||
LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Dref, const char *File,
|
||||
|
Loading…
x
Reference in New Issue
Block a user