- // If start == 0, this is not a location list:
- if (start == 0) {
- entry.lowpc = nullptr;
- entry.highpc = nullptr;
- } else {
- entry.lowpc = (char *) base_address + start;
- entry.highpc = (char *) base_address + end;
- }
+ LocationListEntry::range_type range;
+ if (start == 0)
+ // If start == 0, this is not a location list:
+ range = { 0, UINT64_MAX };
+ else
+ range = { base_address + start, base_address + end };