feat(fake_host):  Enable generating profile data

This patch adds necessary CFlags for generating the profiling
data when binary is executed. A grof file `gmon.out` is generated
when the fake_host binary is executed and it can be processed
using the gprof tool. A sample gprof cmd is shown below:

> gprof build/Debug/rmm.elf > prof.txt

The `fomit-frame-pointer` was not compatible with profiling options
hence this patch moves the option to make it AArch64 specific.
Also `-gdwarf-4` option is made common for fake_host and
AArch64.

Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: Id988e7fcb18048cc4d34ced3a339e73b116be786
diff --git a/toolchains/common.cmake b/toolchains/common.cmake
index 5270abe..a725f09 100644
--- a/toolchains/common.cmake
+++ b/toolchains/common.cmake
@@ -13,10 +13,10 @@
 
 foreach(language IN ITEMS ASM C CXX)
     string(APPEND CMAKE_${language}_FLAGS_INIT "-fno-common ")
-    string(APPEND CMAKE_${language}_FLAGS_INIT "-fomit-frame-pointer ")
     string(APPEND CMAKE_${language}_FLAGS_INIT "-ffunction-sections ")
     string(APPEND CMAKE_${language}_FLAGS_INIT "-fdata-sections ")
     string(APPEND CMAKE_${language}_FLAGS_INIT "-Wall -Werror ")
+    string(APPEND CMAKE_${language}_FLAGS_INIT "-gdwarf-4 ")
     string(APPEND CMAKE_${language}_FLAGS_DEBUG_INIT "-Og ")
     string(APPEND CMAKE_${language}_FLAGS_RELEASE_INIT "-g ")
 endforeach()