开发者

Is there a GCC pragma to override generation of debug info (-g) for some section of code?

开发者 https://www.devze.com 2022-12-15 17:33 出处:网络
I\'d like to include some debug information 开发者_高级运维in an application, but hide certain symbols from appearing. Is there any way to do this with GCC 4.0 (or 4.2)? This is on OSX.Move all such c

I'd like to include some debug information 开发者_高级运维in an application, but hide certain symbols from appearing. Is there any way to do this with GCC 4.0 (or 4.2)? This is on OSX.


Move all such code into a single source file and compile that without -g. Note that you can't omit global symbol names for obvious reasons.

0

精彩评论

暂无评论...
验证码 换一张
取 消