summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOUniversal.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2017-10-12 04:35:32 +0000
committerJustin Bogner <mail@justinbogner.com>2017-10-12 04:35:32 +0000
commit9ea7fbd1e862095dd85ebf135b53dcd52d95bfef (patch)
tree530c3361704e2385739acf1ee17fb466819c81a7 /llvm/lib/Object/MachOUniversal.cpp
parent85171866be5b7284f2c79c0414944de650b39396 (diff)
downloadbcm5719-llvm-9ea7fbd1e862095dd85ebf135b53dcd52d95bfef.tar.gz
bcm5719-llvm-9ea7fbd1e862095dd85ebf135b53dcd52d95bfef.zip
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
Diffstat (limited to 'llvm/lib/Object/MachOUniversal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud