-fomit-frame-pointer
参考:http://blog.csdn.net/byzs/article/details/2220461
为什么会由此记录?读了同事的邮件,看到关于此编译选项的问题,因此做下记录
如果发现 %ebp 的值显得不正常,那么可以反汇编,看看%ebp是否被用作帧指针。
-fomit-frame-pointer 编译选项
Don't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions. It also makes debugging impossible on some machines.
浙公网安备 33010602011771号