File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1239,11 +1239,11 @@ namespace {
1239
1239
// # of entries
1240
1240
uint32_t dataLength =
1241
1241
sizeof (uint16_t ) + sizeof (uint64_t ) * data.size ();
1242
- assert (dataLength == static_cast <uint16_t >(dataLength));
1242
+ assert (dataLength == static_cast <uint32_t >(dataLength));
1243
1243
1244
1244
endian::Writer writer (out, little);
1245
1245
writer.write <uint16_t >(keyLength);
1246
- writer.write <uint16_t >(dataLength);
1246
+ writer.write <uint32_t >(dataLength);
1247
1247
return { keyLength, dataLength };
1248
1248
}
1249
1249
@@ -1513,7 +1513,7 @@ namespace {
1513
1513
static std::pair<unsigned , unsigned >
1514
1514
ReadKeyDataLength (const uint8_t *&data) {
1515
1515
unsigned keyLength = endian::readNext<uint16_t , little, unaligned>(data);
1516
- unsigned dataLength = endian::readNext<uint16_t , little, unaligned>(data);
1516
+ unsigned dataLength = endian::readNext<uint32_t , little, unaligned>(data);
1517
1517
return { keyLength, dataLength };
1518
1518
}
1519
1519
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ const uint16_t SWIFT_LOOKUP_TABLE_VERSION_MAJOR = 1;
276
276
// / Lookup table minor version number.
277
277
// /
278
278
// / When the format changes IN ANY WAY, this number should be incremented.
279
- const uint16_t SWIFT_LOOKUP_TABLE_VERSION_MINOR = 16 ; // Lazy Member Loading Index
279
+ const uint16_t SWIFT_LOOKUP_TABLE_VERSION_MINOR = 17 ; // Lazy Member Loading Index
280
280
281
281
// / A lookup table that maps Swift names to the set of Clang
282
282
// / declarations with that particular name.
You can’t perform that action at this time.
0 commit comments