@jrose @steve @porglezomp @bob there’s -Og now
Conversation
Notices
-
Embed this notice
John Regehr (regehr@mastodon.social)'s status on Tuesday, 28-Jan-2025 05:32:31 JST John Regehr
-
Embed this notice
James Widman (jameswidman@mastodon.social)'s status on Tuesday, 28-Jan-2025 05:32:31 JST James Widman
@regehr @jrose @steve @porglezomp @bob ooh, i wasn't aware of this:
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-Ogquote:
> It [-Og] is a better choice than -O0 for producing debuggable code because some compiler passes that collect debug information are disabled at -O0.but this is gcc's documentation, not clang's. Unfortunately, clang doesn't seem to document -O options at all, so i don't know whether this aspect of gcc's -O0/-Og is also true of clang's -O0/-Og.
-
Embed this notice