1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/FuzzMutate
Justin Bogner 51ab92de46 Re-commit "llvm-isel-fuzzer: Handle a subset of backend flags in the exec name"
Here we add a secondary option parser to llvm-isel-fuzzer (and provide
it for use with other fuzzers). With this, you can copy the fuzzer to
a name like llvm-isel-fuzzer=aarch64-gisel for a fuzzer that fuzzer
AArch64 with GlobalISel enabled, or fuzzer=x86_64 to fuzz x86, with no
flags required. This should be useful for running these in OSS-Fuzz.

Note that this handrolls a subset of cl::opts to recognize, rather
than embedding a complete command parser for argv[0]. If we find we
really need the flexibility of handling arbitrary options at some
point we can rethink this.

This re-applies 315545 using "=" instead of ":" as a separator for
arguments.

llvm-svn: 315557
2017-10-12 04:35:32 +00:00
..
CMakeLists.txt Move some CLI utils out of llvm-isel-fuzzer and into the library 2017-09-02 23:43:04 +00:00
FuzzerCLI.cpp Re-commit "llvm-isel-fuzzer: Handle a subset of backend flags in the exec name" 2017-10-12 04:35:32 +00:00
IRMutator.cpp Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
LLVMBuild.txt Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
OpDescriptor.cpp Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
Operations.cpp Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
RandomIRBuilder.cpp Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00