diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-06-22 10:10:53 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-06-22 10:10:53 +0000 |
commit | e14485a0c61ab217f7a2d6f5c619d0158ad67492 (patch) | |
tree | 2519fee6b6bd3bd9d663beccba78c6fa79313d56 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 1043dffbd3e33ac351f9731781fb8ff12825c579 (diff) | |
download | bcm5719-llvm-e14485a0c61ab217f7a2d6f5c619d0158ad67492.tar.gz bcm5719-llvm-e14485a0c61ab217f7a2d6f5c619d0158ad67492.zip |
[MC] - Add .stack_size sections into groups and link them with .text
D39788 added a '.stack-size' section containing metadata on function stack sizes
to output ELF files behind the new -stack-size-section flag.
This change does following two things on top:
1) Imagine the case when there are -ffunction-sections flag given and there are text sections in COMDATs.
The patch adds a '.stack-size' section into corresponding COMDAT group, so that linker will be able to
eliminate them fast during resolving the COMDATs.
2) Patch sets a SHF_LINK_ORDER flag and links '.stack-size' with the corresponding .text.
With that linker will be able to do -gc-sections on dead stack sizes sections.
Differential revision: https://reviews.llvm.org/D46874
llvm-svn: 335332
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions