diff options
| author | Igor Kudrin <ikudrin@accesssoftek.com> | 2021-10-21 11:37:52 +0700 |
|---|---|---|
| committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2021-10-21 11:38:39 +0700 |
| commit | 1302fdc233f424dbc8d15d7d88dc894dd6cdbb6c (patch) | |
| tree | 2761e3d92c472efb37a139055fb44e1c1cf86701 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | |
| parent | 66b650f3da70e45ca40ffa281df79e044c28fe04 (diff) | |
[ELF] Avoid adding an orphan section to a less suitable segment
If segments are defined in a linker script, placing an orphan section
before the found closest-rank section can result in adding it in a
previous segment and changing flags of that segment. This happens if
the orphan section has a lower sort rank than the found section. To
avoid that, the patch forces orphan sections to be moved after the
found section if segments are explicitly defined.
Differential Revision: https://reviews.llvm.org/D111717
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
0 files changed, 0 insertions, 0 deletions
