Add an option to log when we do a sound dynamic pass on a function
Summary:
We would like to know for how many functions we do the sound dynamic pass vs. saying the interface passes the check
https://www.internalfb.com/code/fbsource/[
96d37f76f2115ddc0c3d3fd12f8fdb0cd2a0fb12]/fbcode/hphp/hack/src/typing/typing.ml?lines=4975-4982
https://www.internalfb.com/code/fbsource/[
96d37f76f2115ddc0c3d3fd12f8fdb0cd2a0fb12]/fbcode/hphp/hack/src/typing/typing_dynamic.ml?lines=105-109
This emits a log when we do second pass, keyed by "sd_pass" with level 1
Differential Revision:
D39888074
fbshipit-source-id:
3521f68250d125cc9942c90d790e414dfc962320