diff options
author | Justin Bogner <mail@justinbogner.com> | 2017-08-29 00:22:08 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2017-08-29 00:22:08 +0000 |
commit | 2ebcca2323e1cb037393f7d0ac41247c148a8e03 (patch) | |
tree | aeb53615f6895b8ae9ef05f73e651901c81b828b /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 5d6ddda92d98e95cdf39c9e448a4d6d304e08e11 (diff) | |
download | bcm5719-llvm-2ebcca2323e1cb037393f7d0ac41247c148a8e03.tar.gz bcm5719-llvm-2ebcca2323e1cb037393f7d0ac41247c148a8e03.zip |
Implement llvm-isel-fuzzer for fuzzing instruction selection
This implements a fuzzer tool for instruction selection, as described
in my [EuroLLVM 2017 talk][1].
The fuzzer must be given both libFuzzer args and llc-like args to
configure the backend. For example, to fuzz AArch64 GlobalISel at -O0,
you could invoke like so:
llvm-isel-fuzzer <corpus dirs> -ignore_remaining_args=1 \
-mtriple arm64-apple-ios -global-isel -O0
If you would like to seed the fuzzer with an initial corpus, simply
provide a directory of valid LLVM bitcode (not textual IR) as one of
the corpus dirs.
[1]: http://llvm.org/devmtg/2017-03//2017/02/20/accepted-sessions.html#2
llvm-svn: 311964
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions