Skip to content

Commit 8a50e35

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent b2f1d06 commit 8a50e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/ExecutionEngine/Orc/MachO.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ loadLinkableSliceFromMachOUniversalBinary(sys::fs::file_t FD,
189189
case LoadArchives::Required:
190190
return "an archive";
191191
}
192+
llvm_unreachable("Unknown LoadArchives enum");
192193
};
193194

194195
return make_error<StringError>(TT.getArchName() + " slice of " + UBPath +

0 commit comments

Comments
 (0)