static函数被优化问题

定义为static的函数在编译时可能会被优化,在so中可以用nm -D命令查看该函数是否被优化。

若能在so中找到该函数,则未被优化,反之则被优化。

猜你喜欢

转载自blog.csdn.net/hhhlizhao/article/details/129207792
今日推荐