[Lldb-commits] [PATCH] D127882: [lldb/Fuzzer] Create ninja target for target fuzzer

Chelsea Cassanova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 15 10:59:45 PDT 2022


cassanova created this revision.
cassanova added reviewers: JDevlieghere, mib.
cassanova added a project: LLDB.
Herald added subscribers: Michael137, mgorny.
Herald added a project: All.
cassanova requested review of this revision.
Herald added a subscriber: lldb-commits.

Create a ninja target for running the LLDB target fuzzer.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127882

Files:
  lldb/tools/lldb-fuzzer/CMakeLists.txt


Index: lldb/tools/lldb-fuzzer/CMakeLists.txt
===================================================================
--- lldb/tools/lldb-fuzzer/CMakeLists.txt
+++ lldb/tools/lldb-fuzzer/CMakeLists.txt
@@ -1,2 +1,8 @@
 add_subdirectory(lldb-target-fuzzer)
 add_subdirectory(utils)
+
+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
+  )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127882.437251.patch
Type: text/x-patch
Size: 462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220615/caa00656/attachment.bin>


More information about the lldb-commits mailing list