[LLVMdev] Disabling certain optimizations at -O1?

Renato Golin renato.golin at linaro.org
Mon Dec 2 14:42:52 PST 2013


On 2 December 2013 20:12, Philip Reames <listmail at philipreames.com> wrote:
> Would it make sense to separate our a flag for preserving full and exactly
> stack traces?  Using -O1 is one option, but it would be nice to move beyond
> -O1 with reasonable confidence that stack traces would be preserved.  Would
> others be interested in such a feature?

I can't say I'm interested in that, but it shouldn't be too different
than a module-level #pragma optimize (no_this, no_that), which could
be supported if the table of flags has a rich enough semantics.

cheers,
--renato



More information about the llvm-dev mailing list