[llvm] [BOLT] Support computed goto and allow map addrs inside functions. (PR #120267)

Ash Dobrescu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 08:41:31 PST 2025


Rin18 wrote:

I've also tested this patch on an aarch64 `postgres` build and found that it allows BOLT to run without --skip-funcs flags.
Without this patch the following error occurs:
```
llvm-bolt -o test.out.bolt postgres
BOLT-ERROR: unable to get new address corresponding to input address 0x2cb1b0 in function ExecInterpExpr/1(*2). Consider adding this function to --skip-funcs=...
```
The `ExecInterpExpr/1` function no longer need to be skipped when goto patch is applied.

https://github.com/llvm/llvm-project/pull/120267


More information about the llvm-commits mailing list