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

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: Code review fixes. 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/IceCompileServer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index 40d9692093f5e1c7c6beaed19fd19758d5c7a049..dbc1eb671e74980520b81241cebc2a4bfa191c97 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/IceCompileServer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698