[LLVMdev] LLVM Coverage GCDA Flush API

John Harrison ash.gti at gmail.com
Tue Feb 5 16:20:30 PST 2013


Hi,

I ran into the bug/feature request that you cannot flush gcov buffers while
the app is running. They are only called when you exit the program, since
the flush functions are registered with atexit(). This is the bug report:
http://llvm.org/bugs/show_bug.cgi?id=12144

I have what I think is a basic implementation of the `__gcov_flush` call,
although I called this version `__llvm_gcov_flush`. Here is the diff
https://gist.github.com/ashgti/4685743 if anyone would like to see it.

So, my question is where should I go from here? Do I need to email the
exact patch to llvm-commits? This touches both the llvm and compiler-rt, so
I don't know if that changes anything.


Thanks,

--
John Harrison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130205/17a468bc/attachment.html>


More information about the llvm-dev mailing list