DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization
Follow-up to r346788 review feedback from Adrian Prantl.
This commit is contained in:
@@ -1457,7 +1457,7 @@ Error MetadataLoader::MetadataLoaderImpl::parseOneMetadata(
|
||||
break;
|
||||
}
|
||||
case bitc::METADATA_COMPILE_UNIT: {
|
||||
if (Record.size() < 14 || Record.size() > 19)
|
||||
if (Record.size() < 14 || Record.size() > 20)
|
||||
return error("Invalid record");
|
||||
|
||||
// Ignore Record[0], which indicates whether this compile unit is
|
||||
|
||||
Reference in New Issue
Block a user