1*9880d681SAndroid Build Coastguard Worker# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker# This test verifies that an error is reported when a MIR file has some 3*9880d681SAndroid Build Coastguard Worker# function but is missing a corresponding machine function. 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker# CHECK: no machine function information for function 'foo' in the MIR file 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker--- | 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker define i32 @foo() { 10*9880d681SAndroid Build Coastguard Worker ret i32 0 11*9880d681SAndroid Build Coastguard Worker } 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker... 14