diff options
| author | Fangrui Song <i@maskray.me> | 2022-02-01 10:19:30 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2022-02-01 10:19:30 -0800 |
| commit | fbf2f6640067dec144f9aef8231d58c740e3d014 (patch) | |
| tree | 2be6e9babfdd4d59779dd7dd372cadbc0163bc08 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | a0318711c8cfcb0ecdd956eb400916c5c2b08d3c (diff) | |
| download | llvm-fbf2f6640067dec144f9aef8231d58c740e3d014.zip llvm-fbf2f6640067dec144f9aef8231d58c740e3d014.tar.gz llvm-fbf2f6640067dec144f9aef8231d58c740e3d014.tar.bz2 | |
[ELF] Update flag propagation rule to ignore discarded output sections
See the updated insert-before.test for the effects: many synthetic
sections are SHF_ALLOC|SHF_WRITE. If they are discarded, we don't want
to propagate their flags to subsequent output section descriptions.
`getFirstInputSection(sec) == nullptr` can technically be merged into
`isDiscardable` but I'd like to postpone that as not sharing code may give more
refactoring opportunity.
Depends on D118529.
Reviewed By: peter.smith, bluca
Differential Revision: https://reviews.llvm.org/D118530
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
