| commit | 3ea87271882fae920382ab37d72b49db63924a73 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Sun May 22 00:13:04 2016 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Sun May 22 00:13:04 2016 +0000 |
| tree | cc2d389af110ba85c338de1f190d25e59aef1007 | |
| parent | 31023d3061cddac8665e965c0d9b32996a211a94 [diff] |
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