HomePhabricator

Use OffsetMap in getSectionPiece.
Audit RequiredrL329044

Description

Use OffsetMap in getSectionPiece.

OffsetMap maps to a SectionPiece index, but we were not taking
advantage of that in getSectionPiece.

With this patch both getOffset and getSectionPiece use OffsetMap and
the binary search is moved to findSectionPiece.

Details

Auditors
Bigcheese
Committed
rafaelApr 2 2018, 9:06 PM
Parents
rL329043: bpf: fix incorrect SELECT_CC lowering
Branches
Unknown
Tags
Unknown