ΒΆvoid handleExecNameEncodedBEOpts(
llvm::StringRef ExecName)
void handleExecNameEncodedBEOpts(
llvm::StringRef ExecName)
Description
Handle backend options that are encoded in the executable name. Parses some common backend options out of a specially crafted executable name (argv[0]). For example, a name like llvm-foo-fuzzer--aarch64-gisel might set up an AArch64 triple and the Global ISel selector. This should be called *before* parseFuzzerCLOpts if calling both. This is meant to be used for environments like OSS-Fuzz that aren't capable of passing in command line arguments in the normal way.
Declared at: llvm/include/llvm/FuzzMutate/FuzzerCLI.h:37
Parameters
- llvm::StringRef ExecName