| 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> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ |
| 6 # PNACL_BIN_PATH=<path> ... | 6 # PNACL_BIN_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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 LD_EXTRA += -fsanitize=memory | 135 LD_EXTRA += -fsanitize=memory |
| 136 endif | 136 endif |
| 137 | 137 |
| 138 ifdef FORCEASM | 138 ifdef FORCEASM |
| 139 FORCEASM_FLAG = --filetype=asm | 139 FORCEASM_FLAG = --filetype=asm |
| 140 # With --filetype=asm and --sandbox, the llvm-mc assembler emits the lock and | 140 # With --filetype=asm and --sandbox, the llvm-mc assembler emits the lock and |
| 141 # 16-bit prefixes in the "wrong" order, causing the validator to reject the | 141 # 16-bit prefixes in the "wrong" order, causing the validator to reject the |
| 142 # resulting nexe. So we just disable those tests for now. | 142 # resulting nexe. So we just disable those tests for now. |
| 143 FORCEASM_XTEST_EXCLUDES = -e x8632,sandbox,test_sync_atomic | 143 FORCEASM_XTEST_EXCLUDES = -e x8632,sandbox,test_sync_atomic |
| 144 FORCEASM_LIT_PARAM = --param=FORCEASM | 144 FORCEASM_LIT_PARAM = --param=FORCEASM |
| 145 # x86 sandboxing lit tests are disabled because llvm-mc uses different | 145 # x86 sandboxing lit tests are disabled because filetype=asm does not |
| 146 # relocations for pushing return addresses onto the stack. | 146 # handle bundle_lock pad-to-end correctly. |
| 147 # TODO(jpp): fix this. | 147 # TODO(jpp): fix this. |
| 148 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*' | 148 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*' |
| 149 else | 149 else |
| 150 FORCEASM_FLAG = | 150 FORCEASM_FLAG = |
| 151 FORCEASM_XTEST_EXCLUDES = | 151 FORCEASM_XTEST_EXCLUDES = |
| 152 FORCEASM_LIT_PARAM = | 152 FORCEASM_LIT_PARAM = |
| 153 FORCEASM_LIT_TEST_EXCLUDES = | 153 FORCEASM_LIT_TEST_EXCLUDES = |
| 154 endif | 154 endif |
| 155 | 155 |
| 156 SB_OBJDIR := $(OBJDIR)+Sandboxed | 156 SB_OBJDIR := $(OBJDIR)+Sandboxed |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 @cat Makefile.standalone-help/check-lit.txt | 569 @cat Makefile.standalone-help/check-lit.txt |
| 570 | 570 |
| 571 help-check-xtest: | 571 help-check-xtest: |
| 572 @cat Makefile.standalone-help/check-xtest.txt | 572 @cat Makefile.standalone-help/check-xtest.txt |
| 573 | 573 |
| 574 clean: | 574 clean: |
| 575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 576 | 576 |
| 577 clean-all: clean | 577 clean-all: clean |
| 578 rm -rf build/ crosstest/Output/ | 578 rm -rf build/ crosstest/Output/ |
| OLD | NEW |