Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: Makefile.standalone

Issue 1616103002: Subzero. X8664. Enables RIP-based addressing mode. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: make presubmit happy. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/IceAssemblerX86Base.h » ('j') | src/IceAssemblerX86BaseImpl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 ifdef MSAN 131 ifdef MSAN
132 # TODO(ascull): this has an as yet undiagnosed uninitialized memory access 132 # TODO(ascull): this has an as yet undiagnosed uninitialized memory access
133 OBJDIR := $(OBJDIR)+MSan 133 OBJDIR := $(OBJDIR)+MSan
134 CXX_EXTRA += -fsanitize=memory 134 CXX_EXTRA += -fsanitize=memory
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:
141 # 16-bit prefixes in the "wrong" order, causing the validator to reject the 141 # (1) the llvm-mc assembler emits the lock and 16-bit prefixes in the "wrong"
142 # resulting nexe. So we just disable those tests for now. 142 # order, causing the validator to reject the resulting nexe.
143 FORCEASM_XTEST_EXCLUDES = -e x8632,sandbox,test_sync_atomic 143 # (2) the llvm-mc assembler fails to assemble rip/eip-based addresses.
144 # So we just disable those tests for now.
145 FORCEASM_XTEST_EXCLUDES = \
146 -e x8632,sandbox,test_sync_atomic \
147 -e x8664,sandbox,test_calling_conv \
148 -e x8664,sandbox,test_global
144 FORCEASM_LIT_PARAM = --param=FORCEASM 149 FORCEASM_LIT_PARAM = --param=FORCEASM
145 # x86 sandboxing lit tests are disabled because llvm-mc uses different 150 # x86 sandboxing lit tests are disabled because llvm-mc uses different
146 # relocations for pushing return addresses onto the stack. 151 # relocations for pushing return addresses onto the stack.
147 # TODO(jpp): fix this. 152 # TODO(jpp): fix this.
148 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*' 153 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*'
149 else 154 else
150 FORCEASM_FLAG = 155 FORCEASM_FLAG =
151 FORCEASM_XTEST_EXCLUDES = 156 FORCEASM_XTEST_EXCLUDES =
152 FORCEASM_LIT_PARAM = 157 FORCEASM_LIT_PARAM =
153 FORCEASM_LIT_TEST_EXCLUDES = 158 FORCEASM_LIT_TEST_EXCLUDES =
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 @cat Makefile.standalone-help/check-lit.txt 574 @cat Makefile.standalone-help/check-lit.txt
570 575
571 help-check-xtest: 576 help-check-xtest:
572 @cat Makefile.standalone-help/check-xtest.txt 577 @cat Makefile.standalone-help/check-xtest.txt
573 578
574 clean: 579 clean:
575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 580 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
576 581
577 clean-all: clean 582 clean-all: clean
578 rm -rf build/ crosstest/Output/ 583 rm -rf build/ crosstest/Output/
OLDNEW
« no previous file with comments | « no previous file | src/IceAssemblerX86Base.h » ('j') | src/IceAssemblerX86BaseImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698