diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-02-23 09:57:17 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-02-23 09:57:17 +0000 |
commit | 4e6f52c9a4f057256f081abe644be04ac782ebec (patch) | |
tree | 213fce8c2b674cd2b8b6ef48710bd91bfb719ccf /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 3cd76b1448cbab44080c205c5fdec3dad5f5d346 (diff) | |
download | bcm5719-llvm-4e6f52c9a4f057256f081abe644be04ac782ebec.tar.gz bcm5719-llvm-4e6f52c9a4f057256f081abe644be04ac782ebec.zip |
[ELF] - Add testcase documenting flags assigned when empty synthetic section is removed.
This responds to PR36475,
r325763 led to unexprected layout change, though
new behavior seems to be more correct.
Previously we could have following script:
.foo : { *(.foo) }
.bar : { *(.synthetic_empty) BYTE(0x11) }}
where synthetic_empty is a synthetic section which is empty and
hence removed by linker.
Before r325763 .bar would receive section flags from .synthetic_empty,
but after this revision it receives flags the same as .foo section has.
It is the same as if there would not be any synthetic_empty section in a script,
so looks reasonable and consistent behavior:
.foo : { *(.foo) }
.bar : { BYTE(0x11) }}
Patch adds testcase to document it.
Differential revision: https://reviews.llvm.org/D43632
llvm-svn: 325873
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions