|Debug optimized code linuxkaffee_@_gmx.net (Stephan Ceram) (2008-09-16)|
|Re: Debug optimized code firstname.lastname@example.org (RR) (2008-09-17)|
|Re: Debug optimized code email@example.com (cr88192) (2008-09-17)|
|Re: Debug optimized code firstname.lastname@example.org (Walter Banks) (2008-09-17)|
|Re: Debug optimized code email@example.com (rcmetzger) (2008-09-17)|
|Re: Debug optimised code firstname.lastname@example.org (2008-09-15)|
|Re: Debug optimized code email@example.com (Stephen Horne) (2008-09-18)|
|[20 later articles]|
|From:||Stephan Ceram <linuxkaffee_@_gmx.net>|
|Date:||16 Sep 2008 21:37:34 GMT|
|Posted-Date:||17 Sep 2008 04:12:59 EDT|
I've a question about compilers' symbolic debugging information (like
DWARF2) and compiler optimizations. Should the code be always compiled
without any optimizations, i.e. -O0, to get accurate debug information
where all source code line number are correct or would I also get accurate
results for higher optimization levels? Usually, at least -O1 does
not modify the code too much, so I would assume that this optimization
level could be applied for a successful debugging afterwards.
What are you experiences?
Return to the
Search the comp.compilers archives again.