Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
2613 days 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.
1 comments
kishu18
2613 days ago
Thanks for the suggestion. Do you have any good reference for reading about this feature?
link
saagarjha
2613 days ago
GCC's option page lists what it does:
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-n...
link
kishu18
2613 days ago
Nice. Thanks for sharing the stackoverflow link. Will check that.
link