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

Maksim Panchenko via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 9 14:36:03 PDT 2024


maksfb wrote:

> > Let's make `hasCFI()` return true for injected functions.
> 
> Given that this change increases the size of eh_frame section, should we make it dependent on `enable-bat`, i.e. when we expect to feed the binary back to BOLT?
> 
> Because otherwise this "fix" is a pure size regression.

Creating a proper FDE entry is the right thing to do regardless of BAT. How large is the regression?

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


More information about the llvm-branch-commits mailing list