public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Performance with debug information
       [not found] <ab82ea330807180606p7609288brf8c54833c830ea66@mail.gmail.com>
@ 2008-07-18 13:22 ` Marc Messiaen
  2008-07-18 15:17   ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Messiaen @ 2008-07-18 13:22 UTC (permalink / raw)
  To: gcc-help

Hi all,

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 ?

Thanks in advance for your answers.

Best regards.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Performance with debug information
  2008-07-18 13:22 ` Performance with debug information Marc Messiaen
@ 2008-07-18 15:17   ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2008-07-18 15:17 UTC (permalink / raw)
  To: Marc Messiaen; +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-18 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ab82ea330807180606p7609288brf8c54833c830ea66@mail.gmail.com>
2008-07-18 13:22 ` Performance with debug information Marc Messiaen
2008-07-18 15:17   ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).