llvm-for-llvmta/test/BugPoint/compile-custom.ll.py

13 lines
238 B
Python
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
#!/usr/bin/env python
from __future__ import print_function
import sys
# Currently any print-out from the custom tool is interpreted as a crash
# (i.e. test is still interesting)
print("Error: " + ' '.join(sys.argv[1:]))
sys.exit(1)