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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IceCompileServer.cpp » ('j') | src/LinuxMallocProfiling.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index 125791799e9fe2df94087a87efb2996a368d01aa..df533ca8bd53778612895a30da78de90ebf08547 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -170,6 +170,12 @@ else
FORCEASM_LIT_TEST_EXCLUDES =
endif
+ifdef LINUX_MALLOC_PROFILE
+ OBJDIR := $(OBJDIR)+MalProf
+ CXX_EXTRA += -DALLOW_LINUX_MALLOC_PROFILE=1
+ LD_EXTRA += -Wl,--export-dynamic
+endif
+
SB_OBJDIR := $(OBJDIR)+Sandboxed
SBB_OBJDIR := $(OBJDIR)+SandboxedBrowser
@@ -299,6 +305,7 @@ SRCS = \
IceTimerTree.cpp \
IceTranslator.cpp \
IceTypes.cpp \
+ LinuxMallocProfiling.cpp \
main.cpp \
PNaClTranslator.cpp
« 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