Use RawPrint instead of Printf for instrumentation warning because
Printf doesn't yet work when instrumentation is being initialized
(since OutputFile is not yet initialized).
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
Comment Actions
Please take a look.
This fixes the deprecated-instrumentation.test which is currently failing on Windows because the message doesn't print.
It doesn't print because OutputFile in FuzzerIO.cpp is not yet initialized when WarnAboutDeprecatedInstrumentation is called.
An alternative to this fix is just disabling the test on Windows, I don't worry much about the message not being printed because I don't think anyone has ever used trace-pc on Win with libFuzzer.