[llvm-dev] Code coverage BoF - notes and updates
Reid Kleckner via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 25 15:21:38 PDT 2017
On Wed, Oct 25, 2017 at 2:45 PM, Moshtaghi, Alireza via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi
>
> I’m interested in implementing the solution for the header problem
> described in (1.) to emit coverage mappings to a side file and unique them
> when generating coverage reports. As you also mentioned this would require
> modifying the build workflow. Can you explain how do you suggest changing
> the build workflow? I tried objcopy-ing the profile data sections from the
> “.o” files and relinking them again them again but that caused the (just to
> see if it is possible) but the output raw profile data was not written into.
>
>
>
> I’m open to trying any suggestion.
>
Isn't that exactly what emitting the coverage data as linkonce_odr
accomplishes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171025/d716afbb/attachment.html>
More information about the llvm-dev
mailing list