summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2024-07-27 10:53:23 -0700
committerGitHub <noreply@github.com>2024-07-27 10:53:23 -0700
commit1e8df9e85a1ff213e5868bd822877695f27504ad (patch)
tree6d01a1b5ca1d6692ef6061c6af27dac4f53a6cde /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent803eaf29267c6aae9162d1a83a4a2ae508b440d3 (diff)
[llvm-exegesis] Use correct rseq struct size (#100804)
Glibc v2.40 changes the definition of __rseq_size to the usable area of the struct rather than the actual size of the struct to accommodate users trying to figure out what features can be used. This change breaks llvm-exegesis trying to disable rseq as the size registered in the kernel is no longer equal to __rseq_size. This patch adds a check to see if __rseq_size is less than 32 bytes and uses 32 as a value if it is given alignment requirements. Fixes #100791.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions