[all-commits] [llvm/llvm-project] 67f5b0: Add test for Flags.data_flow_trace
Wu Yingcong via All-commits
all-commits at lists.llvm.org
Tue Mar 7 22:18:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67f5b05cdcdceb270e6cb9e2bf363bf66fd19979
https://github.com/llvm/llvm-project/commit/67f5b05cdcdceb270e6cb9e2bf363bf66fd19979
Author: Wu, Yingcong <yingcong.wu at intel.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
M compiler-rt/test/fuzzer/dataflow.test
Log Message:
-----------
Add test for Flags.data_flow_trace
`CollectDataFlow()` uses `Flags.collect_data_flow` and
`Flags.data_flow_trace` at the same time. But in the null check before
the invocation, only `Flags.collect_data_flow` is checked, and there is
no other method to make sure `Flags.data_flow_trace` is not null, so
adding a null check for `Flags.data_flow_trace`.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D145040
More information about the All-commits
mailing list