summaryrefslogtreecommitdiff
path: root/test/BugPoint/compile-custom.ll
blob: d019811cbe35317be04be11516f48d26c2f9c106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%s.py arg1 arg2" --output-prefix %t %s | FileCheck %s
; REQUIRES: loadable_module

; XFAIL: vg_leak

; 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
}