This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Fix Sanitizer Coverage.
AbandonedPublic

Authored by mpividori on Jan 6 2017, 7:29 PM.

Details

Summary

This changes are related to the changes in compiler-rt to fix Sanitizer Coverage for Windows (https://reviews.llvm.org/D28432)
We need to export the functions when we want to change the default implementation.

Diff Detail

Event Timeline

mpividori updated this revision to Diff 83490.Jan 6 2017, 7:29 PM
mpividori retitled this revision from to [libFuzzer] Fix Sanitizer Coverage..
mpividori updated this object.
mpividori added reviewers: kcc, aizatsky, rnk, zturner.
mpividori set the repository for this revision to rL LLVM.
mpividori added a subscriber: llvm-commits.
rnk edited edge metadata.Jan 9 2017, 1:11 PM

Are we still planning to do this? You said this won't work in the static linking case, right?

mpividori abandoned this revision.Jan 10 2017, 10:57 AM

Hi, I took a different approach that will also work for MT. So I will abandon this diff, and I will soon submit the new one.

kcc added inline comments.Jan 10 2017, 3:57 PM
lib/Fuzzer/FuzzerTracePC.cpp
268

please put this into FuzzerDefs.h

269

Also, I think the name is wrong here, because these symbols are STRONG, not WEAK

@kcc, I abandoned this diff and took a different approach. I will submit a new diff soon.
Thanks!