summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CodeGenOptions.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-22 00:13:04 +0000
committerRui Ueyama <ruiu@google.com>2016-05-22 00:13:04 +0000
commit3ea87271882fae920382ab37d72b49db63924a73 (patch)
treecc2d389af110ba85c338de1f190d25e59aef1007 /clang/lib/Frontend/CodeGenOptions.cpp
parent31023d3061cddac8665e965c0d9b32996a211a94 (diff)
downloadbcm5719-llvm-3ea87271882fae920382ab37d72b49db63924a73.tar.gz
bcm5719-llvm-3ea87271882fae920382ab37d72b49db63924a73.zip
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
Diffstat (limited to 'clang/lib/Frontend/CodeGenOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud