diff options
author | PZ Read <netfirewall@gmail.com> | 2021-10-20 06:14:22 -0700 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2021-10-20 06:52:57 -0700 |
commit | 9e7b7303f1d3556756d7c4db8fa02969c8f11c58 (patch) | |
tree | e22027ce581371db169382d3a40626146ca31847 /llvm/lib/Object/ModuleSymbolTable.cpp | |
parent | cbe3b6b21f6d3e706edd9c825e2bfb6ee324945e (diff) | |
download | llvm-9e7b7303f1d3556756d7c4db8fa02969c8f11c58.zip llvm-9e7b7303f1d3556756d7c4db8fa02969c8f11c58.tar.gz llvm-9e7b7303f1d3556756d7c4db8fa02969c8f11c58.tar.bz2 |
[libFuzzer] Update InputInfo.TimeOfUnit when replacing it in the corpus.
Previously, when the fuzzing loop replaced an input in the corpus, it didn't update the execution time of the input. Therefore, some schedulers (e.g. Entropic) would adjust weights based on the incorrect execution time.
This patch updates the execution time of the input when replacing it.
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D111479
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions