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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user