Fix "not all control paths return a value" warning. NFCI.

This commit is contained in:
Simon Pilgrim 2021-01-27 10:14:54 +00:00
parent fd5e937681
commit da83b869ab
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) {
case CodeGenOptions::ProfileCSIRInstr:
return "csllvm";
}
llvm_unreachable("Unhandled CodeGenOptions::ProfileInstrKind enum");
}
llvm::Optional<bool>