[libfuzzer] use %p for printing addresses

llvm-svn: 258370
This commit is contained in:
Mike Aizatsky 2016-01-21 00:02:09 +00:00
parent 394524d940
commit e313f8f8ff
1 changed files with 1 additions and 1 deletions

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;