1
Fork 0

Auto merge of #38000 - rkruppe:llvm-dinamespace-fwdcompat, r=alexcrichton

[LLVM 4.0] Pass new argument ExportSymbol to DIBuilder::createNameSpace

cc #37609
This commit is contained in:
bors 2016-11-25 16:57:37 -06:00 committed by GitHub
commit 2217bd771c

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(