aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorYongKang Zhu <yongzhu@fb.com>2025-11-06 09:38:25 -0800
committerGitHub <noreply@github.com>2025-11-06 09:38:25 -0800
commit6fce53af846cd88def615230ac5eaa8455958ccb (patch)
treecbba6578589622787c48030c5f6ee0ad3b10f32d /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent3be825053233740dc3960cae2f74c00211363487 (diff)
downloadllvm-6fce53af846cd88def615230ac5eaa8455958ccb.zip
llvm-6fce53af846cd88def615230ac5eaa8455958ccb.tar.gz
llvm-6fce53af846cd88def615230ac5eaa8455958ccb.tar.bz2
[BOLT][AArch64] Skip as many zeros as possible in padding validation (#166467)
We are skipping four zero's at a time when validating code padding in case that the next zero would be part of an instruction or constant island, and for functions that have large amount of padding (like due to hugify), this could be very slow. We now change the validation to skip as many as possible but still need to be 4's exact multiple number of zero's. No valid instruction has encoding as 0x00000000 and even if we stumble into some constant island, the API `BinaryFunction::isInConstantIsland()` has been made to find the size between the asked address and the end of island (#164037), so this should be safe.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions