diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-01-25 21:32:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-01-25 21:32:04 +0000 |
commit | de06936f288dabb589ea5979ccaf71655f48ec90 (patch) | |
tree | 35fe7c12b6079820fde76f4adc6f41cea8b61e96 /lldb/packages/Python/lldbsuite/test/python_api/section | |
parent | f07db00a656e3bf08c6da4f3e46bae4f82bd56b2 (diff) | |
download | bcm5719-llvm-de06936f288dabb589ea5979ccaf71655f48ec90.tar.gz bcm5719-llvm-de06936f288dabb589ea5979ccaf71655f48ec90.zip |
Avoid almost duplication in .dynamic finalize and write.
There are a few cases where we have almost duplicated code.
This patches fixes the simplest: the finalize and write of dynamic
section. Right now they have to have exactly the same structure to
decide if a DT_* entry is needed and then to actually write it.
We cannot just write it to a std::vector in the first pass since
addresses have not been computed yet.
llvm-svn: 258723
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section')
0 files changed, 0 insertions, 0 deletions