summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc/xcc
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/ccc/xcc')
-rwxr-xr-xclang/tools/ccc/xcc12
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/tools/ccc/xcc b/clang/tools/ccc/xcc
new file mode 100755
index 00000000000..70954aca956
--- /dev/null
+++ b/clang/tools/ccc/xcc
@@ -0,0 +1,12 @@
+#!/usr/bin/python
+
+import sys
+from ccclib import Driver
+
+def main():
+ d = Driver.Driver()
+ # FIXME: We should pass program name here as well.
+ d.run(sys.argv[1:])
+
+if __name__=='__main__':
+ main()
OpenPOWER on IntegriCloud