[all-commits] [llvm/llvm-project] 1c5e85: [FuzzMutate] Split out FuzzerCLI library that does...

Sam McCall via All-commits all-commits at lists.llvm.org
Sat May 7 03:13:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c5e85b3da649c89db87abecc53b42f6eaa574c2
      https://github.com/llvm/llvm-project/commit/1c5e85b3da649c89db87abecc53b42f6eaa574c2
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-07 (Sat, 07 May 2022)

  Changed paths:
    M clang-tools-extra/clangd/fuzzer/CMakeLists.txt
    M clang-tools-extra/pseudo/fuzzer/CMakeLists.txt
    M clang/tools/clang-fuzzer/CMakeLists.txt
    M llvm/lib/FuzzMutate/CMakeLists.txt
    M llvm/tools/llvm-dlang-demangle-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-isel-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-itanium-demangle-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-microsoft-demangle-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-opt-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-rust-demangle-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt
    M llvm/tools/llvm-yaml-numeric-parser-fuzzer/CMakeLists.txt
    M mlir/tools/mlir-parser-fuzzer/CMakeLists.txt

  Log Message:
  -----------
  [FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR.

All llvm-project fuzzers use this library to parse command-line arguments.
Many of them don't deal with LLVM IR or modules in any way. Bundling those
functions in one library forces build dependencies that don't need to be there.

Among other things, this means check-clang-pseudo no longer depends on most of
LLVM.

Differential Revision: https://reviews.llvm.org/D125081




More information about the All-commits mailing list