summaryrefslogtreecommitdiffstats
path: root/build/Android.common.mk
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-05-30 10:50:43 -0700
committerIan Rogers <irogers@google.com>2013-05-30 10:50:43 -0700
commitf89eccd509475cb1949c729e796b26a2a248ae04 (patch)
treec0512735a0c58972061ebd5151ad82e03cce5670 /build/Android.common.mk
parent1bf8d4dbe5cb9891e8a1125ff1928b544efc243a (diff)
downloadart-f89eccd509475cb1949c729e796b26a2a248ae04.zip
art-f89eccd509475cb1949c729e796b26a2a248ae04.tar.gz
art-f89eccd509475cb1949c729e796b26a2a248ae04.tar.bz2
Use no-omit-frame-pointer in host builds.
Change-Id: Ic9cbf1244f7867996c0ec5f79908cce25fc6c7b0
Diffstat (limited to 'build/Android.common.mk')
-rw-r--r--build/Android.common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/Android.common.mk b/build/Android.common.mk
index f6a1300..5c642be 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -114,6 +114,9 @@ endif
# We build with GCC 4.6 on the host.
ART_HOST_CFLAGS += -Wthread-safety
+# Make host builds easier to debug and profile by not omitting the frame pointer.
+ART_HOST_CFLAGS += -fno-omit-frame-pointer
+
# To use oprofile_android --callgraph, uncomment this and recompile with "mmm art -B -j16"
# ART_TARGET_CFLAGS += -fno-omit-frame-pointer -marm -mapcs