You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
24
external/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll
vendored
Normal file
24
external/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
; If the binary looks up libraries using an rpath, we can't test this
|
||||
; without copying the whole lib dir or polluting the build dir.
|
||||
; REQUIRES: static-libs
|
||||
; REQUIRES: x86-registered-target
|
||||
|
||||
; Temporary bitcode file
|
||||
; RUN: opt -o %t.input %s
|
||||
|
||||
; RUN: cp llvm-opt-fuzzer %t.bin--
|
||||
; RUN: not %t.bin-- %t.input 2>&1 | FileCheck -check-prefix=EMPTY %s
|
||||
; EMPTY: -mtriple must be specified
|
||||
|
||||
; RUN: cp llvm-opt-fuzzer %t.bin--x86_64
|
||||
; RUN: not %t.bin--x86_64 %t.input 2>&1 | FileCheck -check-prefix=PASSES %s
|
||||
; PASSES: at least one pass should be specified
|
||||
|
||||
; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-unknown
|
||||
; RUN: not %t.bin--x86_64-unknown %t.input 2>&1 | FileCheck -check-prefix=UNKNOWN %s
|
||||
; UNKNOWN: Unknown option: unknown
|
||||
|
||||
; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-instcombine
|
||||
; RUN: %t.bin--x86_64-instcombine %t.input 2>&1 | FileCheck -check-prefix=CORRECT %s
|
||||
; CORRECT: Injected args: -mtriple=x86_64 -passes=instcombine
|
||||
; CORRECT: Running
|
Reference in New Issue
Block a user