xref: /aosp_15_r20/external/llvm/test/tools/gold/X86/invalid.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \
2*9880d681SAndroid Build Coastguard Worker; RUN:    %p/Inputs/invalid.bc -o %t2 2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; test that only one error gets printed
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; CHECK: error: LLVM gold plugin has failed to create LTO module: Malformed block
7*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: error
8