[llvm] [BOLT][WIP] Support restartable sequences in tcmalloc (PR #157774)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 04:50:30 PDT 2025


https://github.com/paschalis-mpeis commented:

Overall, the patch looks good, and it was verified that ignoring the function does the trick.

One thing it's not clear to me: are static binaries safe, given the heuristic won't detect which functions to ignore?

For the logs, would it be better to condense the BOLT-INFO messages into a warning summary like:
> ~ N functionsN functions were found in restartable sequences section and were ignored ..

possibly, including a hint to view full details at higher verbosity? Not a strong opinion.

I believe you will also suppress these messages?
> BOLT-WARNING: no function found matching dynamic relocation in __rseq_cs


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


More information about the llvm-commits mailing list