diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-04 19:34:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-04 19:34:17 +0000 |
commit | 02ed7575e7c0dacb6eb36a5893817fcb967905b1 (patch) | |
tree | 99613754dc792144988cdb03a22335fb8f048973 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp | |
parent | fc5b5cd29e9627d7887319ca62a79f1a71eac43b (diff) | |
download | bcm5719-llvm-02ed7575e7c0dacb6eb36a5893817fcb967905b1.tar.gz bcm5719-llvm-02ed7575e7c0dacb6eb36a5893817fcb967905b1.zip |
Simplify the header allocation.
In the non linker script case we would try very early to find out if
we could allocate the headers. Failing to do that would add extra
alignment to the first ro section, since we would set PageAlign
thinking it was the first section in the PT_LOAD.
In the linker script case the header allocation must be done in the
end, causing some duplication.
We now tentatively add the headers to the first PT_LOAD and if it
turns out they don't fit, remove them. With this we only need to
allocate the headers in one place in the code.
llvm-svn: 302186
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions