Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339947

Summary: update TI release and wpo profiles to include "-g --optimize_with_debug"
Product: [Technology] RTSC Reporter: Karl Wechsler <karl>
Component: CoreAssignee: Sasha Slijepcevic <sascha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, sascha
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Karl Wechsler CLA 2011-03-14 17:10:58 EDT
these options has minimal or no affect on performance while providing minimal debug information.  This minimal debug information is useful for stack backtraces.

Please add these flags for all TI targets (both ELF and COFF).

Please add for whole_program and release profiles.   

The debug and whole_program_debug already have debug info.
Comment 1 Sasha Slijepcevic CLA 2011-03-15 18:47:18 EDT
We have '--optimize_with_debug' added only to the link options that are passed to the optimizer when doing an alchemy link. We do not add that option to a normal compilation command line.
So, is this a request to add '--optimize_with_debug' everywhere?
Comment 2 Dave Russo CLA 2011-03-15 18:54:02 EDT
We need to add --optimize_with_debug to the compile line of every release/whole_program profile of every TI target that supports this option.
Comment 3 Sasha Slijepcevic CLA 2011-03-16 17:34:17 EDT
In xdctargets-d18, all TI targets add "-g --optimize_with_debug" to their compiler command lines in 'release' and 'whole_program' profiles.
Comment 4 Dave Russo CLA 2011-11-09 18:55:41 EST
closing "ancient" resolved bugs