File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,6 @@ static unsigned fromRust(LLVMRustDIFlags Flags) {
548548 if (isSet (Flags & LLVMRustDIFlags::FlagRValueReference)) {
549549 Result |= DINode::DIFlags::FlagRValueReference;
550550 }
551- #if LLVM_RUSTLLVM || LLVM_VERSION_GE(4, 0)
552551 if (isSet (Flags & LLVMRustDIFlags::FlagExternalTypeRef)) {
553552 Result |= DINode::DIFlags::FlagExternalTypeRef;
554553 }
@@ -558,6 +557,7 @@ static unsigned fromRust(LLVMRustDIFlags Flags) {
558557 if (isSet (Flags & LLVMRustDIFlags::FlagBitField)) {
559558 Result |= DINode::DIFlags::FlagBitField;
560559 }
560+ #if LLVM_RUSTLLVM || LLVM_VERSION_GE(4, 0)
561561 if (isSet (Flags & LLVMRustDIFlags::FlagNoReturn)) {
562562 Result |= DINode::DIFlags::FlagNoReturn;
563563 }
Original file line number Diff line number Diff line change 99// except according to those terms.
1010
1111// ignore-tidy-linelength
12- // min-llvm-version 3.8
12+ // min-llvm-version 4.0
1313
1414// compile-flags: -g -C no-prepopulate-passes
1515
@@ -19,8 +19,6 @@ fn foo() -> ! {
1919 loop { }
2020}
2121
22- // CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DIFlagMainSubprogram{{.*}}
23-
2422pub fn main ( ) {
2523 foo ( ) ;
2624}
You can’t perform that action at this time.
0 commit comments