Add prototype ccc rewrite.
- Entry point is tools/ccc/xcc until we are a functional replacement for ccc. This is highly experimental (FIXME/LOC ratio of 3.4%), quite crufty, and barely usable (and then only on my specific Darwin). However, many of the right ideas are present, and it already fixes a number of things gcc gets wrong. The major missing component is argument translation for tools (translating driver arguments into cc1/ld/as/etc. arguments). This is a large part of the driver functionality and will probably double the LOC, but my hope is that the current architecture is relatively stable. Documentation & motivation to follow soon... llvm-svn: 61739
Showing
- clang/tools/ccc/ccclib/Arguments.py 446 additions, 0 deletionsclang/tools/ccc/ccclib/Arguments.py
- clang/tools/ccc/ccclib/Driver.py 666 additions, 0 deletionsclang/tools/ccc/ccclib/Driver.py
- clang/tools/ccc/ccclib/Jobs.py 60 additions, 0 deletionsclang/tools/ccc/ccclib/Jobs.py
- clang/tools/ccc/ccclib/Phases.py 86 additions, 0 deletionsclang/tools/ccc/ccclib/Phases.py
- clang/tools/ccc/ccclib/Tools.py 169 additions, 0 deletionsclang/tools/ccc/ccclib/Tools.py
- clang/tools/ccc/ccclib/Types.py 123 additions, 0 deletionsclang/tools/ccc/ccclib/Types.py
- clang/tools/ccc/ccclib/Util.py 52 additions, 0 deletionsclang/tools/ccc/ccclib/Util.py
- clang/tools/ccc/ccclib/__init__.py 0 additions, 0 deletionsclang/tools/ccc/ccclib/__init__.py
- clang/tools/ccc/test/ccc/Xarch.c 8 additions, 0 deletionsclang/tools/ccc/test/ccc/Xarch.c
- clang/tools/ccc/test/ccc/argument-types.c 16 additions, 0 deletionsclang/tools/ccc/test/ccc/argument-types.c
- clang/tools/ccc/test/ccc/hello.c 7 additions, 0 deletionsclang/tools/ccc/test/ccc/hello.c
- clang/tools/ccc/test/ccc/integrated-cpp.c 3 additions, 0 deletionsclang/tools/ccc/test/ccc/integrated-cpp.c
- clang/tools/ccc/test/ccc/invalid.c 1 addition, 0 deletionsclang/tools/ccc/test/ccc/invalid.c
- clang/tools/ccc/test/ccc/phases.c 46 additions, 0 deletionsclang/tools/ccc/test/ccc/phases.c
- clang/tools/ccc/test/ccc/universal-hello.c 7 additions, 0 deletionsclang/tools/ccc/test/ccc/universal-hello.c
- clang/tools/ccc/xcc 12 additions, 0 deletionsclang/tools/ccc/xcc
Loading
Please register or sign in to comment