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:
commit
2217bd771c
1 changed files with 5 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue