llvm.org GIT mirror llvm / 5a09a6b test / BugPoint / compile-custom.ll
5a09a6b

Tree @5a09a6b (Download .tar.gz)

compile-custom.ll @5a09a6braw · history · blame

; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%/s.py arg1 arg2" --opt-command opt --output-prefix %t %s | FileCheck %s
; REQUIRES: loadable_module

; Test that arguments are correctly passed in --compile-command.  The output
; of bugpoint includes the output of the custom tool, so we just echo the args
; in the tool and check here.

; CHECK: Error: arg1 arg2

define void @noop() {
    ret void
}