llvm-project/llvm/utils/gn/build/run_tablegen.py

9 lines
206 B
Python
Executable File

#!/usr/bin/env python
"""Runs tablegen."""
import subprocess
import sys
# Prefix with ./ to run built binary, not arbitrary stuff from PATH.
sys.exit(subprocess.call(['./' + sys.argv[1]] + sys.argv[2:]))