Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The failure seems to be clang-tidy again -- I'm not going to change names of the methods. PTAL at lines 37-78, if you find time. The rest is existing code moved out of the class definition block. If no one takes a look, I'll land it in a couple days anyways, no worries.
Comment Actions
Hi. I think this patch might be leading to the linker error we're seeing:
>>> defined at FuzzedDataProvider.h:283 (/b/s/w/ir/k/recipe_cleanup/clangKqmrKj/lib/clang/11.0.0/include/fuzzer/FuzzedDataProvider.h:283) >>> obj/zircon/system/ulib/fs/journal/test/journal-replay-fuzzer_test.replay_fuzztest.cc.o:(FuzzedDataProvider::ConsumeBool()) >>> defined at FuzzedDataProvider.h:283 (/b/s/w/ir/k/recipe_cleanup/clangKqmrKj/lib/clang/11.0.0/include/fuzzer/FuzzedDataProvider.h:283) >>> obj/zircon/system/ulib/fs/journal/test/fuzz-utils.fuzzer_utils.cc.o:(.text+0x3F0) ld.lld: error: duplicate symbol: FuzzedDataProvider::ConsumeData(void*, unsigned long) >>> defined at FuzzedDataProvider.h:318 (/b/s/w/ir/k/recipe_cleanup/clangKqmrKj/lib/clang/11.0.0/include/fuzzer/FuzzedDataProvider.h:318) >>> obj/zircon/system/ulib/fs/journal/test/journal-replay-fuzzer_test.replay_fuzztest.cc.o:(FuzzedDataProvider::ConsumeData(void*, unsigned long)) >>> defined at FuzzedDataProvider.h:318 (/b/s/w/ir/k/recipe_cleanup/clangKqmrKj/lib/clang/11.0.0/include/fuzzer/FuzzedDataProvider.h:318) >>> obj/zircon/system/ulib/fs/journal/test/fuzz-utils.fuzzer_utils.cc.o:(.text+0x420) ... a bunch more
Would you mind taking a look? Thanks.
Comment Actions
@leonardchan I've committed https://github.com/llvm/llvm-project/commit/6d0488f75bb2f37bcfe93fc8f59f6e78c9a0c939, that should help, I'll monitor the buildbot.
Might be worth adding a comment here that probability is just a float between 0 and 1 [inclusive].