diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2017-12-11 23:25:27 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2017-12-11 23:25:27 +0000 |
commit | 0ca350a92d6b67b80bec0d979ccbd9245dcf6718 (patch) | |
tree | b0b63c99d0c328e3460f8274840032373a50af87 /lldb/packages/Python/lldbsuite/test/lang/cpp | |
parent | 6074e6b0944ba7d60199895b025a56f1396c0f40 (diff) | |
download | bcm5719-llvm-0ca350a92d6b67b80bec0d979ccbd9245dcf6718.tar.gz bcm5719-llvm-0ca350a92d6b67b80bec0d979ccbd9245dcf6718.zip |
[ELF] Change default output section type to SHT_NOBITS
When an output section has no byte commands and has no input sections then it
would be ideal if the type of the section is SHT_NOBITS so that the file can
take up less space. This change sets the default type of of output sections to
SHT_NOBITS instead of SHT_PROGBITS to allow this. This required some minor test
changes (which double as tests for this new behavior) but extend-pt-load.s had
be changed in a non-trivial way. Since it seems to me that the point of the
test is to point out the consequences of how flags are assigned to output
sections that don't have input sections I changed the test to work and still
show how the memsize of the executable segment was changed.
Differential Revision: https://reviews.llvm.org/D41082
llvm-svn: 320437
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp')
0 files changed, 0 insertions, 0 deletions