Pass new argument ExportSymbol to DIBuilder::createNameSpace

This commit is contained in:
Robin Kruppe 2016-11-25 17:23:25 +01:00
parent 29abe6f9e8
commit 2e6d49de07

View File

@ -747,7 +747,11 @@ extern "C" LLVMRustMetadataRef LLVMRustDIBuilderCreateNameSpace(
unwrapDI<DIDescriptor>(Scope),
Name,
unwrapDI<DIFile>(File),
LineNo));
LineNo
#if LLVM_VERSION_GE(4, 0)
, false // ExportSymbols (only relevant for C++ anonymous namespaces)
#endif
));
}
extern "C" void LLVMRustDICompositeTypeSetTypeArray(