Displaying 1 result from an estimated 1 matches for "passeven".
Did you mean:
passagen
2011 Nov 22
2
[LLVMdev] Instrumentation passes and -O0 optimization level
...e command line; as
thecomment says, "If all optimizations are disabled, just run
thealways-inline pass."This doesn't play well with
_instrumentation_passes which should not be disabled regardless of the
optimizationlevel.
My proposal is to add a specific extension point to preserve a
passeven if O0 is used (below is the usage example with
theAddressSanitizer pass)Another solution would be to introduce a
passattribute which tells whether the pass should be preserved if
theoptimizations are disabled, but this will require some refactoring
ofthe PassManagerBuilder class.
What do you think...