[llvm-branch-commits] [llvm] [BOLT] Emit empty FDE for injected functions (PR #87967)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 9 16:26:12 PDT 2024


aaupov wrote:

> > > Creating a proper FDE entry is the right thing to do regardless of BAT. How large is the regression?
> > 
> > 
> > The largest I've seen is 34M->39M (HHVM instrumentation).
> 
> Did you check if we patch every single function in he original `.text`? How many functions are there?

I'm not sure how to confirm this, but I'm pretty sure we do patch every function in regular instrumentation mode. There are 406308 functions instrumented.

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


More information about the llvm-branch-commits mailing list