Skip to content

Commit

Permalink
Fix MSVC "not all control paths return a value" warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Nov 23, 2023
1 parent 376b22a commit 7b97d50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/DWARFLinkerParallel/DependencyTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7b97d50

Please sign in to comment.