[libfuzzer] use %p for printing addresses

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mike Aizatsky 2016-01-21 00:02:09 +00:00
parent 6fc68949bf
commit b1020e3809

View File

@ -265,7 +265,7 @@ size_t Fuzzer::RecordBlockCoverage() {
LastCoveragePcBufferLen = __sanitizer_get_coverage_pc_buffer(&CoverageBuf);
assert(CoverageBuf);
for (size_t i = PrevBufferLen; i < LastCoveragePcBufferLen; ++i) {
Printf("0x%x\n", CoverageBuf[i]);
Printf("%p\n", CoverageBuf[i]);
}
return LastRecordedBlockCoverage;