Make Eradicate use on-demand analysis by default

Summary:
public
Use on-demand analysis for Eradicate

Reviewed By: cristianoc

Differential Revision: D2858806

fb-gh-sync-id: b577359
master
jrm 9 years ago committed by facebook-github-bot-7
parent fcb561a1ee
commit cdda16effa

@ -445,9 +445,8 @@ class Infer:
self.timing['makefile_generation'] = 0
else:
if self.args.analyzer == config.ANALYZER_ERADICATE:
infer_analyze.append('-intraprocedural')
if self.args.analyzer == config.ANALYZER_CHECKERS:
if self.args.analyzer in [config.ANALYZER_CHECKERS,
config.ANALYZER_ERADICATE]:
os.environ['INFER_ONDEMAND'] = 'Y'
os.environ['INFER_OPTIONS'] = ' '.join(infer_options)

Loading…
Cancel
Save