anchao commented on PR #17878:
URL: https://github.com/apache/nuttx/pull/17878#issuecomment-3770727351

   > > If the purpose of this modification is to facilitate debugging, then I 
have no objections. Alternatively, could we add a DEBUG flag to this config? 
Anyway, this is not a big deal.
   > 
   > not only for debugging, the network stack code may need move into TCM to 
get the best performance on some platform. but the code layout arrangement is 
impossible with lto.
   
   So why not use .a to specified in the linker script? If LTO is disabled, 
wouldn’t LTO (O3) and LD optimizations be mutually exclusive in some 
performance-critical scenarios?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to