This is an archive of the discontinued LLVM Phabricator instance.

Reland "[lldb/Fuzzer] Add fuzzer for expression evaluator"
ClosedPublic

Authored by cassanova on Aug 2 2022, 1:54 PM.

Details

Reviewers
JDevlieghere
mib
Summary

This reverts commit d959324e1efec12c3924c17b7d90db0b37eb84c3.

The target_include_directories in the clang-fuzzer CMake files are set to PRIVATE instead of PUBLIC to prevent the clang buildbots from breaking when symlinking clang into llvm.

The expression evaluator fuzzer itself has been modified to prevent a bug that occurs when running it without a target.

Diff Detail

Event Timeline

cassanova created this revision.Aug 2 2022, 1:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2022, 1:54 PM
Herald added a subscriber: mgorny. · View Herald Transcript
cassanova requested review of this revision.Aug 2 2022, 1:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2022, 1:54 PM
JDevlieghere added inline comments.Aug 2 2022, 2:11 PM
lldb/tools/lldb-fuzzer/lldb-expression-fuzzer/CMakeLists.txt
52–57

Shouldn't this be setting the LLDB_FUZZER_TARGET?

cassanova updated this revision to Diff 449729.Aug 3 2022, 11:32 AM

Set the LLDB_FUZZER_TARGET environment variable in the CMake file for the source code to use.

This revision is now accepted and ready to land.Aug 3 2022, 4:04 PM
cassanova closed this revision.Aug 12 2022, 9:36 AM