Skip to content
Commit 3ea87271 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Define SectionPiece and use it instead of std::pair<uint_t, uint_t>.

We were using std::pair to represents pieces of splittable section
contents. It hurt readability because "first" and "second" are not
meaningful. This patch give them names.

One more thing is that piecewise liveness information is stored to
the second element of the pair as a special value of output section
offset. It was confusing, so I defiend a new bit, "Live", in the
new struct.

llvm-svn: 270340
parent 31023d30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment