We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29abe6f commit 2e6d49dCopy full SHA for 2e6d49d
src/rustllvm/RustWrapper.cpp
@@ -747,7 +747,11 @@ extern "C" LLVMRustMetadataRef LLVMRustDIBuilderCreateNameSpace(
747
unwrapDI<DIDescriptor>(Scope),
748
Name,
749
unwrapDI<DIFile>(File),
750
- LineNo));
+ LineNo
751
+#if LLVM_VERSION_GE(4, 0)
752
+ , false // ExportSymbols (only relevant for C++ anonymous namespaces)
753
+#endif
754
+ ));
755
}
756
757
extern "C" void LLVMRustDICompositeTypeSetTypeArray(
0 commit comments