diff options
| author | Hans Wennborg <hans@hanshq.net> | 2017-10-12 03:32:09 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2017-10-12 03:32:09 +0000 |
| commit | 022829d84c2c4e992980bf99695bea4be5c31ef1 (patch) | |
| tree | 62f0d11bda91bc4d01cf4ce0339f479d96b6a29f /llvm/test/tools/llvm-isel-fuzzer/execname-options.ll | |
| parent | eb2218ceaed31e71680a0646bf8e4533411a0497 (diff) | |
| download | bcm5719-llvm-022829d84c2c4e992980bf99695bea4be5c31ef1.tar.gz bcm5719-llvm-022829d84c2c4e992980bf99695bea4be5c31ef1.zip | |
Revert r315545 "llvm-isel-fuzzer: Handle a subset of backend flags in the executable name"
It broke some tests on Windows:
Failing Tests (4):
LLVM :: tools/llvm-isel-fuzzer/execname-options.ll
LLVM :: tools/llvm-isel-fuzzer/missing-triple.ll
LLVM :: tools/llvm-isel-fuzzer/x86-empty-bc.ll
LLVM :: tools/llvm-isel-fuzzer/x86-empty.ll
> llvm-isel-fuzzer: Handle a subset of backend flags in the executable 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.
llvm-svn: 315554
Diffstat (limited to 'llvm/test/tools/llvm-isel-fuzzer/execname-options.ll')
| -rw-r--r-- | llvm/test/tools/llvm-isel-fuzzer/execname-options.ll | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll b/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll deleted file mode 100644 index 8ebc1e96ddc..00000000000 --- a/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: echo > %t.input - -; RUN: cp llvm-isel-fuzzer %t.bin:gisel -; RUN: not %t.bin:gisel %t.input 2>&1 | FileCheck -check-prefix=GISEL %s -; GISEL: Injected args: -global-isel -O0 -; GISEL: -mtriple must be specified - -; RUN: cp llvm-isel-fuzzer %t.bin:gisel-O2 -; RUN: not %t.bin:gisel-O2 %t.input 2>&1 | FileCheck -check-prefix=GISEL-O2 %s -; GISEL-O2: Injected args: -global-isel -O0 -O2 -; GISEL-O2: -mtriple must be specified - -; RUN: cp llvm-isel-fuzzer %t.bin:unexist -; RUN: not %t.bin:unexist %t.input 2>&1 | FileCheck -check-prefix=NO-OPT %s -; NO-OPT: Unknown option: |

