diff --git a/llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp b/llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp index 8767cc0fc6e77..052eb6cf57d41 100644 --- a/llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp +++ b/llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp @@ -316,6 +316,8 @@ bool isAlreadyMarked(const CompileUnit::DIEInfo &Info, case CompileUnit::NotSet: llvm_unreachable("Unset placement type is specified."); }; + + llvm_unreachable("Unknown CompileUnit::DieOutputPlacement enum"); } bool isAlreadyMarked(const UnitEntryPairTy &Entry,