summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/build/run_tablegen.py
blob: c7694236be55f901262dce946a8e9f71238f8f02 (plain)
1
2
3
4
5
6
7
8
#!/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:]))
OpenPOWER on IntegriCloud