diff --git a/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt b/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt --- a/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt +++ b/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt @@ -17,7 +17,9 @@ add_custom_target(fuzz-lldb-target COMMENT "Running the LLDB target fuzzer..." - COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && $ + COMMAND mkdir -p ${CMAKE_BINARY_DIR}/fuzzer-artifacts/target-artifacts && + cd ${CMAKE_BINARY_DIR}/fuzzer-artifacts/target-artifacts + && $ -artifact_prefix=target- USES_TERMINAL ) endif()