aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-02-12 10:00:10 +1100
committerGitHub <noreply@github.com>2025-02-12 10:00:10 +1100
commit84fe1f63b02414085bf7a8434caaf4a358be86da (patch)
tree501495f6b844aab82092207a5cd4676d44e8a273 /lldb/source/Plugins/ScriptInterpreter/Python
parent8374d421861cd3d47e21ae7889ba0b4c498e8d85 (diff)
downloadllvm-84fe1f63b02414085bf7a8434caaf4a358be86da.zip
llvm-84fe1f63b02414085bf7a8434caaf4a358be86da.tar.gz
llvm-84fe1f63b02414085bf7a8434caaf4a358be86da.tar.bz2
[ORC] Switch to singleton pattern for UnwindInfoManager. (#126691)
The find-dynamic-unwind-info callback registration APIs in libunwind limit the number of callbacks that can be registered. If we use multiple UnwindInfoManager instances, each with their own own callback function (as was the case prior to this patch) we can quickly exceed this limit (see https://github.com/llvm/llvm-project/issues/126611). This patch updates the UnwindInfoManager class to use a singleton pattern, with the single instance shared between all LLVM JITs in the process. This change does _not_ apply to compact unwind info registered through the ORC runtime (which currently installs its own callbacks). As a bonus this change eliminates the need to load an IR "bouncer" module to supply the unique callback for each instance, so support for compact-unwind can be extended to the llvm-jitlink tools (which does not support adding IR).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions