[Lldb-commits] [lldb] 3ba71f1 - Reland "[lldb/Fuzzer] Create ninja target for target fuzzer"
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 15 14:37:49 PDT 2022
Author: Chelsea Cassanova
Date: 2022-06-15T17:37:38-04:00
New Revision: 3ba71f1be1fb986e634debd8d17a69d2bb4c4eb7
URL: https://github.com/llvm/llvm-project/commit/3ba71f1be1fb986e634debd8d17a69d2bb4c4eb7
DIFF: https://github.com/llvm/llvm-project/commit/3ba71f1be1fb986e634debd8d17a69d2bb4c4eb7.diff
LOG: Reland "[lldb/Fuzzer] Create ninja target for target fuzzer"
This reverts commit b10579d0b519571fa7487399d82e1e809fbfe6cb.
Make sure that the lldb-target-fuzzer exists before adding the
custom fuzz-lldb-target.
Added:
Modified:
lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt b/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt
index 2c5b09a257110..06df06c07d927 100644
--- a/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt
+++ b/lldb/tools/lldb-fuzzer/lldb-target-fuzzer/CMakeLists.txt
@@ -14,4 +14,10 @@ if(TARGET lldb-target-fuzzer)
liblldb
lldbFuzzerUtils
)
+
+ add_custom_target(fuzz-lldb-target
+ COMMENT "Running the LLDB target fuzzer..."
+ COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && $<TARGET_FILE:lldb-target-fuzzer>
+ USES_TERMINAL
+ )
endif()
More information about the lldb-commits
mailing list