summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-opt-fuzzer
Commit message (Collapse)AuthorAgeFilesLines
* make add_llvm_fuzzer calls slightly more consisten with other cmakeNico Weber2018-05-111-2/+4
| | | | llvm-svn: 332112
* Link to AggressiveInstCombine in a few places. Unbreaks build for me.Roman Lebedev2018-04-241-0/+1
| | | | | | | | | | | | /usr/local/bin/ld.lld: error: undefined symbol: llvm::createAggressiveInstCombinerPass() >>> referenced by cc1_main.cpp >>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o:(_GLOBAL__sub_I_cc1_main.cpp) And so on The bot coverage is clearly missing. llvm-svn: 330693
* [AggressiveInstCombine] Add library initializer routine for ↵Craig Topper2018-04-241-0/+1
| | | | | | | | AggressiveInstCombine library. Use it in bugpoint and llvm-opt-fuzzer to match regular InstCombine. This should make aggressive instcombine usable with these tools. llvm-svn: 330663
* Rename *CommandFlags.def to *CommandFlags.incDavid Blaikie2018-04-111-1/+1
| | | | | | | | These aren't the .def style files used in LLVM that require a macro defined before their inclusion - they're just basic non-modular includes to stamp out command line flag variables. llvm-svn: 329840
* Pass a reference to a module to the bitcode writer.Rafael Espindola2018-02-141-1/+1
| | | | | | | This simplifies most callers as they are already using references or std::unique_ptr. llvm-svn: 325155
* [llvm-opt-fuzzer] Fix build after rL324225Igor Laevsky2018-02-051-0/+4
| | | | llvm-svn: 324232
* [llvm-opt-fuzzer] Avoid adding incorrect inputs to the fuzzer corpusIgor Laevsky2018-02-051-8/+30
| | | | | | Differential Revision: https://reviews.llvm.org/D42414 llvm-svn: 324225
* Remove redundant includes from tools.Michael Zolotukhin2017-12-131-2/+0
| | | | llvm-svn: 320631
* Rename CommandFlags.h -> CommandFlags.defDavid Blaikie2017-11-271-1/+1
| | | | | | | | | Since this isn't a real header - it includes static functions and had external linkage variables (though this change makes them static, since that's what they should be) so can't be included more than once in a program. llvm-svn: 319082
* [FuzzMutate] NFC. Move parseModule and writeModule from llvm-isel-fuzzer ↵Igor Laevsky2017-11-161-36/+0
| | | | | | | | into FuzzMutate. This is to be able to reuse them in the llvm-opt-fuzzer. llvm-svn: 318407
* [llvm-opt-fuzzer] Add missed library dependence. Fir for rL317883Igor Laevsky2017-11-101-0/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D39555 llvm-svn: 317889
* [llvm-opt-fuzzer] Fix unused variable warning after rL317883Igor Laevsky2017-11-101-0/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D39555 llvm-svn: 317887
* [llvm-opt-fuzzer] Introduce llvm-opt-fuzzer for fuzzing optimization passesIgor Laevsky2017-11-103-0/+304
This change adds generic fuzzing tools capable of running libFuzzer tests on any optimization pass or combination of them. Differential Revision: https://reviews.llvm.org/D39555 llvm-svn: 317883
OpenPOWER on IntegriCloud