xref: /aosp_15_r20/external/llvm/test/BugPoint/compile-custom.ll.py (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker#!/usr/bin/env python
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerimport sys
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker# Currently any print-out from the custom tool is interpreted as a crash
6*9880d681SAndroid Build Coastguard Worker# (i.e. test is still interesting)
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerprint("Error: " + ' '.join(sys.argv[1:]))
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workersys.exit(1)
11