aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-10-23 08:09:11 +0000
committerGitHub <noreply@github.com>2023-10-23 08:09:11 +0000
commitb6b492880f5ac6357d85ba2f3ad8e41fded1d97c (patch)
tree66179ed4519d00f1b5e944731562fc74d0bae73f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent2ad9fde41839879d8805d430c2e0857466d9c5d6 (diff)
downloadllvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.zip
llvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.tar.gz
llvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.tar.bz2
[BOLT][RISCV] Set minimum function alignment to 2 for RVC (#69837)
In #67707, the minimum function alignment on RISC-V was set to 4. When RVC (compressed instructions) is enabled, the minimum alignment can be reduced to 2. This patch implements this by delegating the choice of minimum alignment to a new `MCPlusBuilder::getMinFunctionAlignment` function. This way, the target-dependent code in `BinaryFunction` is minimized.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions