OLD | NEW |
1 # The following variables will likely need to be modified, depending on where | 1 # The following variables will likely need to be modified, depending on where |
2 # and how you built LLVM & Clang. They can be overridden in a command-line | 2 # and how you built LLVM & Clang. They can be overridden in a command-line |
3 # invocation of make, like: | 3 # invocation of make, like: |
4 # | 4 # |
5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ |
6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... | 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... |
7 # | 7 # |
8 | 8 |
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
10 # directory should contain the configure script, the include/ and lib/ | 10 # directory should contain the configure script, the include/ and lib/ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 OPTLEVEL := -O0 | 53 OPTLEVEL := -O0 |
54 CCACHE := `command -v ccache` | 54 CCACHE := `command -v ccache` |
55 CXX := CCACHE_CPP2=yes $(CCACHE) $(CLANG_PATH)/clang++ | 55 CXX := CCACHE_CPP2=yes $(CCACHE) $(CLANG_PATH)/clang++ |
56 | 56 |
57 CXXFLAGS := $(LLVM_CXXFLAGS) -Wall -Wextra -Werror -fno-rtti \ | 57 CXXFLAGS := $(LLVM_CXXFLAGS) -Wall -Wextra -Werror -fno-rtti \ |
58 -fno-exceptions $(OPTLEVEL) -g $(HOST_FLAGS) \ | 58 -fno-exceptions $(OPTLEVEL) -g $(HOST_FLAGS) \ |
59 -Wno-error=unused-parameter -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 | 59 -Wno-error=unused-parameter -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 |
60 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib | 60 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib |
61 | 61 |
62 SRCS= \ | 62 SRCS= \ |
| 63 assembler.cpp \ |
| 64 assembler_ia32.cpp \ |
63 IceCfg.cpp \ | 65 IceCfg.cpp \ |
64 IceCfgNode.cpp \ | 66 IceCfgNode.cpp \ |
65 IceConverter.cpp \ | 67 IceConverter.cpp \ |
66 IceGlobalContext.cpp \ | 68 IceGlobalContext.cpp \ |
67 IceInst.cpp \ | 69 IceInst.cpp \ |
68 IceInstX8632.cpp \ | 70 IceInstX8632.cpp \ |
69 IceIntrinsics.cpp \ | 71 IceIntrinsics.cpp \ |
70 IceLiveness.cpp \ | 72 IceLiveness.cpp \ |
| 73 IceMemoryRegion.cpp \ |
71 IceOperand.cpp \ | 74 IceOperand.cpp \ |
72 IceRegAlloc.cpp \ | 75 IceRegAlloc.cpp \ |
73 IceRNG.cpp \ | 76 IceRNG.cpp \ |
74 IceTargetLowering.cpp \ | 77 IceTargetLowering.cpp \ |
75 IceTargetLoweringX8632.cpp \ | 78 IceTargetLoweringX8632.cpp \ |
76 IceTranslator.cpp \ | 79 IceTranslator.cpp \ |
77 IceTypeConverter.cpp \ | 80 IceTypeConverter.cpp \ |
78 IceTypes.cpp \ | 81 IceTypes.cpp \ |
79 llvm2ice.cpp \ | 82 llvm2ice.cpp \ |
80 PNaClTranslator.cpp | 83 PNaClTranslator.cpp |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 CLANG_FORMAT_DIFF = clang-format-diff.py | 123 CLANG_FORMAT_DIFF = clang-format-diff.py |
121 else | 124 else |
122 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 125 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
123 endif | 126 endif |
124 format-diff: | 127 format-diff: |
125 git diff -U0 `git merge-base HEAD master` | \ | 128 git diff -U0 `git merge-base HEAD master` | \ |
126 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 129 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
127 | 130 |
128 clean: | 131 clean: |
129 rm -rf llvm2ice *.o build/ | 132 rm -rf llvm2ice *.o build/ |
OLD | NEW |