Konubinix' opinionated web of thoughts

Assembly - What Are CFI Directives in Gnu Assembler (GAS) Used For?


assembly - What are CFI directives in Gnu Assembler (GAS) used for? - Stack Overflow

I’ve got a feeling it stands for Call Frame Information and is a GNU AS extension to manage call frames. From DeveloperWorks:

On some architectures, exception handling must be managed with Call Frame Information directives. These directives are used in the assembly to direct exception handling. These directives are available on Linux on POWER, if, for any reason (portability of the code base, for example), the GCC generated exception handling information is not sufficient.

It looks like these are generated on some platforms depending on need for exception handling.