Skip to content

Commit 7b97d50

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent 376b22a commit 7b97d50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ bool isAlreadyMarked(const CompileUnit::DIEInfo &Info,
316316
case CompileUnit::NotSet:
317317
llvm_unreachable("Unset placement type is specified.");
318318
};
319+
320+
llvm_unreachable("Unknown CompileUnit::DieOutputPlacement enum");
319321
}
320322

321323
bool isAlreadyMarked(const UnitEntryPairTy &Entry,

0 commit comments

Comments
 (0)