From f89eccd509475cb1949c729e796b26a2a248ae04 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 30 May 2013 10:50:43 -0700 Subject: Use no-omit-frame-pointer in host builds. Change-Id: Ic9cbf1244f7867996c0ec5f79908cce25fc6c7b0 --- build/Android.common.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build/Android.common.mk') 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 -- cgit v1.1