Skip to content

Commit

Permalink
[DWARFYAML][debug_aranges] Make the 'Descriptors' field optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
higuoxing committed Aug 2, 2020
1 parent 20fbbbc commit 8d1b950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/ObjectYAML/DWARFYAML.cpp
Expand Up @@ -107,7 +107,7 @@ void MappingTraits<DWARFYAML::ARange>::mapping(IO &IO,
IO.mapRequired("CuOffset", ARange.CuOffset);
IO.mapOptional("AddressSize", ARange.AddrSize);
IO.mapOptional("SegmentSelectorSize", ARange.SegSize, 0);
IO.mapRequired("Descriptors", ARange.Descriptors);
IO.mapOptional("Descriptors", ARange.Descriptors);
}

void MappingTraits<DWARFYAML::RangeEntry>::mapping(
Expand Down

0 comments on commit 8d1b950

Please sign in to comment.