search for: theaddresssanit

Displaying 1 result from an estimated 1 matches for "theaddresssanit".

2011 Nov 22
2
[LLVMdev] Instrumentation passes and -O0 optimization level
...ations 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 of the following patch? -------------------------8<------...