Performance with debug information

Andrew Haley aph@redhat.com
Fri Jul 18 15:17:00 GMT 2008


Marc Messiaen wrote:

> For a C++ project I need the bactrace() function to give me enough
> information to know where error occurs when I caught an FPE signal.
> In release mode, this is not possible .
> So I'd like to compile my project with the debug information and use it in
> operationnal.
> My question is, will I see a significative decrease of the performance if I
> compile my application with debug information instead of release mode ?

None whatsoever.  Debugging info makes the executable files larger, that's
all.

Andrew.



More information about the Gcc-help mailing list