Re: [PATCH] gcov: Add -fprofile-info-section support

2020-11-16 Thread Martin Liška
On 11/16/20 12:02 PM, Sebastian Huber wrote: Hello Martin, On 16/11/2020 11:26, Martin Liška wrote: Sorry for slow response. Register the profile information in the specified section instead of using a constructor/destructor.  A pointer to the profile information generated by -fprofile-arcs

Re: [PATCH] gcov: Add -fprofile-info-section support

2020-11-16 Thread Sebastian Huber
On 16/11/2020 12:02, Sebastian Huber wrote: I sent a proposal for a simple function to convert a gcov info to a gcda byte stream: https://lists.rtems.org/mailman/listinfo Sorry, wrong URL. This is the right one: https://gcc.gnu.org/pipermail/gcc/2020-November/234213.html -- embedded brai

Re: [PATCH] gcov: Add -fprofile-info-section support

2020-11-16 Thread Sebastian Huber
Hello Martin, On 16/11/2020 11:26, Martin Liška wrote: Sorry for slow response. Register the profile information in the specified section instead of using a constructor/destructor.  A pointer to the profile information generated by -fprofile-arcs or -ftest-coverage is placed in the specified

Re: [PATCH] gcov: Add -fprofile-info-section support

2020-11-16 Thread Martin Liška
working on that. What will be your next steps in order to support profiling of your embedded target? Something I can help with? Martin >From 014962870ff4616d93165bada5f6c507c5e83000 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 Nov 2020 17:47:40 +0100 Subject: [PATCH] gcov: Add -

[PATCH] gcov: Add -fprofile-info-section support

2020-11-13 Thread Sebastian Huber
Register the profile information in the specified section instead of using a constructor/destructor. A pointer to the profile information generated by -fprofile-arcs or -ftest-coverage is placed in the specified section for each translation unit. This option disables the profile information regis