4 ms·
> You can ignore the directives starting with cfi. They are used for call stack unwinding in case of exceptions. It might be worth compiling with -fno-asynchro
by saagarjha 8y ago
> You can ignore the directives starting with cfi. They are used for call stack unwinding in case of exceptions.
It might be worth compiling with -fno-asynchronous-unwind-tables, which will get rid of those.
- kishu18 8y agoThanks for the suggestion. Do you have any good reference for reading about this feature?
- saagarjha 8y agoGCC's option page lists what it does: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html. However, it's not all that obvious that this is the flag that controls whether the "cfi" labels are emitted. Here's a more general Stack Overflow question about creating nice assembly output: https://stackoverflow.com/questions/38552116/how-to-remove-noise-from-gcc-clang-assembly-output https://stackoverflow.com/questions/38552116/how-to-remove-n...
- kishu18 8y agoNice. Thanks for sharing the stackoverflow link. Will check that.