|Debug optimized code linuxkaffee_@_gmx.net (Stephan Ceram) (2008-09-16)|
|Re: Debug optimized code email@example.com (RR) (2008-09-17)|
|Re: Debug optimized code firstname.lastname@example.org (cr88192) (2008-09-17)|
|Re: Debug optimized code email@example.com (Walter Banks) (2008-09-17)|
|Re: Debug optimized code firstname.lastname@example.org (rcmetzger) (2008-09-17)|
|Re: Debug optimised code email@example.com (2008-09-15)|
|Re: Debug optimized code firstname.lastname@example.org (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.