This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Performance with debug information
- From: Andrew Haley <aph at redhat dot com>
- To: Marc Messiaen <marc dot messiaen at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 18 Jul 2008 14:33:49 +0100
- Subject: Re: Performance with debug information
- References: <ab82ea330807180606p7609288brf8c54833c830ea66@mail.gmail.com> <ab82ea330807180608g1ed70450vf66258fcdafe09b3@mail.gmail.com>
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.