Skip to content

Commit ce64dcc

Browse files
committed
fix FoundCUUnit problem on soft_stop
1 parent 6abbbca commit ce64dcc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/DWP/DWP.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,9 +826,7 @@ Error write(MCStreamer &Out, ArrayRef<std::string> Inputs,
826826
"debug_info", OverflowOptValue, AnySectionOverflow))
827827
return Err;
828828
if (AnySectionOverflow) {
829-
if (Header.Version < 5 ||
830-
Header.UnitType == dwarf::DW_UT_split_compile)
831-
FoundCUUnit = true;
829+
FoundCUUnit = true;
832830
break;
833831
}
834832
}

0 commit comments

Comments
 (0)