[NFC] Try fix ubsan buildbot after 876d133789
This commit is contained in:
1 parent
388bccb013
commit
c5ec8890c9
4 files changed
+9
-5
No files matched your search
@@ -1218,6 +1218,8 @@ StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context) {
|
||||
static uint64_t getRawAttributeMask(Attribute::AttrKind Val) {
|
||||
switch (Val) {
|
||||
case Attribute::EndAttrKinds:
|
||||
case Attribute::EmptyKey:
|
||||
case Attribute::TombstoneKey:
|
||||
llvm_unreachable("Synthetic enumerators which should never get here");
|
||||
|
||||
case Attribute::None: return 0;
|
||||
|
||||
Reference in new issue
Block a user