开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜