阅读背景:

是否有用于确定帧指针未被消除的gcc宏?

来源:互联网 

When -fomit-frame-pointer is used (automatic for various -O settings), performing a backtrace is problematic. I am wondering if there is a way of determining at compile time that the code is compiled with this switch? In that case, I could put in an #ifndef to guard against backtracing when ill-advised.When -fomit-frame-pointer is used (automatic fo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: