AntonBikineev wrote:

> I am not sure a case where people care for specific functions and want 
> annotating them.

Our (V8 and Chromium) use case is that we know some hot functions that suffer 
from misaligned jumps. These functions would ideally be annotated with the 
attribute. We don't want to use the option for the entire binary as it'd 
significantly increase the binary size.

The alternative would be moving those functions into a separate TU(s), but it's 
just cumbersome.

https://github.com/llvm/llvm-project/pull/80765
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to