[Patch, Aarch64] : Macros for profile code generation to enable gprof support

Venkataramanan Kumar venkataramanan.kumar@linaro.org
Mon Jul 29 06:06:00 GMT 2013


Hi Maintainers,

This patch defines some macros that are needed for profile generation
support in Aarch64.

I tested this patch on top of the patch
http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01333.html

Regression tested with aarch64-none-elf with V8 foundation model after
re basing to latest gcc trunk.

Also ran profile related tests against the latest trunk for
aarch64-unknown-linux-gnu.

Below tests are passing with the patch.

Before:
--------
UNSUPPORTED: gcc.dg/nested-func-4.c
UNSUPPORTED: gcc.dg/pr43643.c:
UNSUPPORTED: gcc.dg/nest.c
UNSUPPORTED: gcc.dg/20021014-1.c
UNSUPPORTED: gcc.dg/pr32450.c
UNSUPPORTED: g++.dg/other/profile1.C -std=gnu++98
UNSUPPORTED: g++.dg/other/profile1.C -std=gnu++11

After:
-------
PASS: gcc.dg/nested-func-4.c (test for excess errors)
PASS: gcc.dg/nested-func-4.c execution test
PASS: gcc.dg/pr43643.c (test for excess errors)
PASS: gcc.dg/pr43643.c execution test
PASS: gcc.dg/nest.c (test for excess errors)
PASS: gcc.dg/nest.c execution test
PASS: gcc.dg/20021014-1.c (test for excess errors)
PASS: gcc.dg/20021014-1.c execution test
PASS: gcc.dg/pr32450.c (test for excess errors)
PASS: gcc.dg/pr32450.c execution test
PASS: g++.dg/other/profile1.C -std=gnu++98 (test for excess errors)
PASS: g++.dg/other/profile1.C -std=gnu++98 execution test
PASS: g++.dg/other/profile1.C -std=gnu++11 (test for excess errors)
PASS: g++.dg/other/profile1.C -std=gnu++11 execution test

regards,
Venkat.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc.gprof.diff
Type: application/octet-stream
Size: 2652 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130729/e1c20c1c/attachment.obj>


More information about the Gcc-patches mailing list