[llvm] [BOLT][WIP] Always treat function entry as code (PR #160161)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 3 12:56:56 PDT 2025
maksfb wrote:
> > @yavtuk do you have an example where we have data at the start of the function? I'd like to consider us treating such cases differently, i.e. shift the function entry point to an actual code location.
>
> @maksfb I can't find the exactly function but for x86 I remember we faced with function smth like that
>
> ```
> void extra_space() {
> asm volatile(".rept 256\n"
> " .byte 0xff\n"
> ".endr\n");
> ....
> ....
> return;
> }
> ```
>
> entry point for the one was with 256 offset, in openssl it was a data which is used for algorithm
>
> I think we can re-check openssl 3.x and 1.1.x versions and take a look is this still exist
Thanks. I'll take a look at the library.
https://github.com/llvm/llvm-project/pull/160161
More information about the llvm-commits
mailing list