summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSam Elliott <quic_aelliott@quicinc.com>2024-08-19 17:51:46 +0100
committerGitHub <noreply@github.com>2024-08-19 17:51:46 +0100
commit9b65558d2f20463b1a32374165d6fa06696623e9 (patch)
tree501dbf1458cea4cb7e04c70461e55882db963de2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente9b2e16dc98345bb1b91b1a6dacb3cec85f49e31 (diff)
[lld][ELF] Combine uniqued small data sections (#104485)
RISC-V GCC with `-fdata-sections` will emit `.sbss.<name>`, `.srodata.<name>`, and `.sdata.<name>` sections for small data items of different kinds. Clang/LLVM already emits `.srodata.*` sections, and we intend to emit the other two section name patterns in #87040. This change ensures that any input sections starting `.sbss` are combined into one output section called `.sbss`, and the same respectively for `.srodata` and `.sdata`. This also allows the existing RISC-V specific code for determining an output order for `.sbss` and `.sdata` sections to apply to placing the sections.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions