You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
20
external/llvm/test/tools/llvm-opt-fuzzer/command-line.ll
vendored
Normal file
20
external/llvm/test/tools/llvm-opt-fuzzer/command-line.ll
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
; REQUIRES: x86-registered-target
|
||||
|
||||
; Temporary bitcode file
|
||||
; RUN: opt -o %t %s
|
||||
|
||||
; Don't start without target triple
|
||||
; RUN: not llvm-opt-fuzzer %t 2>&1 | FileCheck -check-prefix=TRIPLE %s
|
||||
; TRIPLE: -mtriple must be specified
|
||||
|
||||
; Don't start without passes specified
|
||||
; RUN: not llvm-opt-fuzzer %t -ignore_remaining_args=1 -mtriple x86_64 2>&1 | FileCheck -check-prefix=PASSES %s
|
||||
; PASSES: at least one pass should be specified
|
||||
|
||||
; Don't start with incorrect passes specified
|
||||
; RUN: not llvm-opt-fuzzer %t -ignore_remaining_args=1 -mtriple x86_64 -passes no-pass 2>&1 | FileCheck -check-prefix=PIPELINE %s
|
||||
; PIPELINE: can't parse pass pipeline
|
||||
|
||||
; Correct command line
|
||||
; RUN: llvm-opt-fuzzer %t -ignore_remaining_args=1 -mtriple x86_64 -passes instcombine 2>&1 | FileCheck -check-prefix=CORRECT %s
|
||||
; CORRECT: Running
|
Reference in New Issue
Block a user