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

Side by Side Diff: Makefile.standalone

Issue 1781213002: Add malloc/new profiling on linux (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More code reviews Created 4 years, 9 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/IceCompileServer.cpp » ('j') | src/LinuxMallocProfiling.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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 # handle bundle_lock pad-to-end correctly. 163 # handle bundle_lock pad-to-end correctly.
164 # TODO(jpp): fix this. 164 # TODO(jpp): fix this.
165 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*' 165 FORCEASM_LIT_TEST_EXCLUDES = --filter='^(?!.*/x86/sandboxing.ll).*'
166 else 166 else
167 FORCEASM_FLAG = 167 FORCEASM_FLAG =
168 FORCEASM_XTEST_EXCLUDES = 168 FORCEASM_XTEST_EXCLUDES =
169 FORCEASM_LIT_PARAM = 169 FORCEASM_LIT_PARAM =
170 FORCEASM_LIT_TEST_EXCLUDES = 170 FORCEASM_LIT_TEST_EXCLUDES =
171 endif 171 endif
172 172
173 ifdef LINUX_MALLOC_PROFILE
174 OBJDIR := $(OBJDIR)+MalProf
175 CXX_EXTRA += -DALLOW_LINUX_MALLOC_PROFILE=1
176 LD_EXTRA += -Wl,--export-dynamic
177 endif
178
173 SB_OBJDIR := $(OBJDIR)+Sandboxed 179 SB_OBJDIR := $(OBJDIR)+Sandboxed
174 SBB_OBJDIR := $(OBJDIR)+SandboxedBrowser 180 SBB_OBJDIR := $(OBJDIR)+SandboxedBrowser
175 181
176 $(info -----------------------------------------------) 182 $(info -----------------------------------------------)
177 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH)) 183 $(info Using LLVM_SRC_PATH = $(LLVM_SRC_PATH))
178 $(info Using SB_LLVM_PATH = $(SB_LLVM_PATH)) 184 $(info Using SB_LLVM_PATH = $(SB_LLVM_PATH))
179 $(info Using NACL_ROOT = $(NACL_ROOT)) 185 $(info Using NACL_ROOT = $(NACL_ROOT))
180 $(info Using TOOLCHAIN_ROOT = $(TOOLCHAIN_ROOT)) 186 $(info Using TOOLCHAIN_ROOT = $(TOOLCHAIN_ROOT))
181 $(info Using PNACL_TOOLCHAIN_ROOT = $(PNACL_TOOLCHAIN_ROOT)) 187 $(info Using PNACL_TOOLCHAIN_ROOT = $(PNACL_TOOLCHAIN_ROOT))
182 $(info Using PNACL_BIN_PATH = $(PNACL_BIN_PATH)) 188 $(info Using PNACL_BIN_PATH = $(PNACL_BIN_PATH))
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 IceMangling.cpp \ 298 IceMangling.cpp \
293 IceMemory.cpp \ 299 IceMemory.cpp \
294 IceOperand.cpp \ 300 IceOperand.cpp \
295 IceRegAlloc.cpp \ 301 IceRegAlloc.cpp \
296 IceRNG.cpp \ 302 IceRNG.cpp \
297 IceSwitchLowering.cpp \ 303 IceSwitchLowering.cpp \
298 IceThreading.cpp \ 304 IceThreading.cpp \
299 IceTimerTree.cpp \ 305 IceTimerTree.cpp \
300 IceTranslator.cpp \ 306 IceTranslator.cpp \
301 IceTypes.cpp \ 307 IceTypes.cpp \
308 LinuxMallocProfiling.cpp \
302 main.cpp \ 309 main.cpp \
303 PNaClTranslator.cpp 310 PNaClTranslator.cpp
304 311
305 ifndef MINIMAL 312 ifndef MINIMAL
306 SRCS += \ 313 SRCS += \
307 IceConverter.cpp \ 314 IceConverter.cpp \
308 IceTypeConverter.cpp 315 IceTypeConverter.cpp
309 endif 316 endif
310 317
311 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) 318 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS))
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 681
675 help-check-xtest: 682 help-check-xtest:
676 @cat Makefile.standalone-help/check-xtest.txt 683 @cat Makefile.standalone-help/check-xtest.txt
677 684
678 clean: 685 clean:
679 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ 686 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \
680 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json 687 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json
681 688
682 clean-all: clean 689 clean-all: clean
683 rm -rf build/ crosstest/Output/ 690 rm -rf build/ crosstest/Output/
OLDNEW
« no previous file with comments | « no previous file | src/IceCompileServer.cpp » ('j') | src/LinuxMallocProfiling.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698