summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2024-02-16 07:46:58 -0500
committerGitHub <noreply@github.com>2024-02-16 07:46:58 -0500
commit624ea349d7fa3535760a21a05c9998c7978228a4 (patch)
tree3285ab6205f71f2ceceba6f067c12519984afd84 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parentc2fea4cf38991669030f4190d17b645cec27a7c0 (diff)
[lld/MachO] Fix assert on unsorted data-in-code entries (#81758)
When the data-in-code entries are in separate sections, they are not guaranteed to be sorted. In particular, 68b1cc36f3df marked some libc++ string functions as noinline, which leads to global ctors involving strings now producing data-in-code sections in __TEXT,__StaticInit, which is why this now happens in practice. Since data-in-code entries are relatively rare and small, just sort them. No observed performance impact. See also crbug.com/41487860
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions