Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339947 - update TI release and wpo profiles to include "-g --optimize_with_debug"
Summary: update TI release and wpo profiles to include "-g --optimize_with_debug"
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 17:10 EDT by Karl Wechsler CLA
Modified: 2011-11-09 18:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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