| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 LD_EXTRA += -fsanitize=thread | 114 LD_EXTRA += -fsanitize=thread |
| 115 endif | 115 endif |
| 116 | 116 |
| 117 ifdef ASAN | 117 ifdef ASAN |
| 118 OBJDIR := $(OBJDIR)+ASan | 118 OBJDIR := $(OBJDIR)+ASan |
| 119 CXX_EXTRA += -fsanitize=address | 119 CXX_EXTRA += -fsanitize=address |
| 120 LD_EXTRA += -fsanitize=address | 120 LD_EXTRA += -fsanitize=address |
| 121 endif | 121 endif |
| 122 | 122 |
| 123 ifdef MSAN | 123 ifdef MSAN |
| 124 # TODO(ascull): this has an as yet undiagnosed uninitialized memory access |
| 124 OBJDIR := $(OBJDIR)+MSan | 125 OBJDIR := $(OBJDIR)+MSan |
| 125 CXX_EXTRA += -fsanitize=memory | 126 CXX_EXTRA += -fsanitize=memory |
| 126 LD_EXTRA += -fsanitize=memory | 127 LD_EXTRA += -fsanitize=memory |
| 127 endif | 128 endif |
| 128 | 129 |
| 129 SB_OBJDIR := $(OBJDIR)+Sandboxed | 130 SB_OBJDIR := $(OBJDIR)+Sandboxed |
| 130 | 131 |
| 131 $(info -----------------------------------------------) | 132 $(info -----------------------------------------------) |
| 132 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH)) | 133 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH)) |
| 133 $(info Using SB_LLVM_PATH = $(SB_LLVM_PATH)) | 134 $(info Using SB_LLVM_PATH = $(SB_LLVM_PATH)) |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 | 417 |
| 417 docs: | 418 docs: |
| 418 doxygen Doxyfile | 419 doxygen Doxyfile |
| 419 @echo See file://`pwd`/docs/html/index.html | 420 @echo See file://`pwd`/docs/html/index.html |
| 420 | 421 |
| 421 clean: | 422 clean: |
| 422 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 423 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 423 | 424 |
| 424 clean-all: clean | 425 clean-all: clean |
| 425 rm -rf build/ docs/ | 426 rm -rf build/ docs/ |
| OLD | NEW |