diff options
author | Tyker <tyker1@outlook.com> | 2020-03-03 17:42:57 +0100 |
---|---|---|
committer | Tyker <tyker1@outlook.com> | 2020-03-03 17:53:02 +0100 |
commit | c5ec8890c95bf9f56beff285efbcc7b797ffb15a (patch) | |
tree | a7bf378f93576ca4d89fa2df166dcfe4183600ca /llvm/lib/Bitcode | |
parent | 388bccb0135977a9d51e18e59cdebb26071cb842 (diff) | |
download | llvm-c5ec8890c95bf9f56beff285efbcc7b797ffb15a.zip llvm-c5ec8890c95bf9f56beff285efbcc7b797ffb15a.tar.gz llvm-c5ec8890c95bf9f56beff285efbcc7b797ffb15a.tar.bz2 |
[NFC] Try fix ubsan buildbot after 876d13378931bee3dcefafff8729c40d5457ff31
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 0d24359..de2a6b4 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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; |