summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2025-04-17 19:58:32 -0700
committerGitHub <noreply@github.com>2025-04-17 19:58:32 -0700
commit0977a7130b291304dae5cfd23575ea3a4b9922ed (patch)
treed95944af715e813db9584539f1997890b374eb0c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente5263e3ec83cf662f945a067ffc83e2ed76d9aed (diff)
[BOLT] Skip FDE emission for patch functions (#136224)
Patch functions are used to fix instructions in the original code, i.e., they are not functions in a traditional sense, but rather pieces of emitted code that are embedded into real functions. We used to emit FDEs for all functions, including patch functions. However, FDEs for patches are not only unnecessary, but they can lead to problems with libraries and runtimes that consume FDEs, e.g. C++ exception handling runtime. Note that we use named patches to fix function entry points and in that case they behave more like regular functions. Thus we issue FDEs for those.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions