Use no-omit-frame-pointer in host builds.
Change-Id: Ic9cbf1244f7867996c0ec5f79908cce25fc6c7b0
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 @@
# 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