sanitizer_common: tighten on_print hook test
The new tsan runtime does not support arbitrary forms of recursing into the runtime from hooks. Disable instrumentation of the hook and use write instead of fwrite (calls malloc internally). The new version still recurses (write is intercepted), but does not fail now (the issue at hand was malloc). Depends on D112601. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D112602
Loading
Please sign in to comment