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 8010f40 commit f77f338Copy full SHA for f77f338
src/rustllvm/RustWrapper.cpp
@@ -496,9 +496,11 @@ static DINode::DIFlags fromRust(LLVMRustDIFlags Flags) {
496
if (isSet(Flags & LLVMRustDIFlags::FlagAppleBlock)) {
497
Result |= DINode::DIFlags::FlagAppleBlock;
498
}
499
+#if LLVM_VERSION_LT(10, 0)
500
if (isSet(Flags & LLVMRustDIFlags::FlagBlockByrefStruct)) {
501
Result |= DINode::DIFlags::FlagBlockByrefStruct;
502
503
+#endif
504
if (isSet(Flags & LLVMRustDIFlags::FlagVirtual)) {
505
Result |= DINode::DIFlags::FlagVirtual;
506
0 commit comments