search for: __llvm_gcov_flush

Displaying 7 results from an estimated 7 matches for "__llvm_gcov_flush".

2013 Feb 06
2
[LLVMdev] LLVM Coverage GCDA Flush API
The way `-ftest-coverage -fprofile-arcs` works at the moment it only flushes via `atexit()`. This patch allows you to flush the coverage at any point by calling `__llvm_gcov_flush` the same way `__gcov_flush` works for gcc. If there is another way of doing this, I might of missed it but I was looking for `__gcov_flush` and I did not find the equivalent in llvm at the moment. -- John Harrison On Tue, Feb 5, 2013 at 11:26 PM, Bill Wendling <wendling at apple.com> wro...
2013 Feb 06
2
[LLVMdev] LLVM Coverage GCDA Flush API
...e 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...
2013 Feb 06
0
[LLVMdev] LLVM Coverage GCDA Flush API
...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. >...
2013 Feb 06
3
[LLVMdev] LLVM Coverage GCDA Flush API
...AM, Joshua Cranmer <pidgeot18 at gmail.com> wrote: > On 2/6/2013 11:43 AM, John Harrison wrote: > >> The way `-ftest-coverage -fprofile-arcs` works at the moment it only >> flushes via `atexit()`. This patch allows you to flush the coverage at any >> point by calling `__llvm_gcov_flush` the same way `__gcov_flush` works for >> gcc. >> >> If there is another way of doing this, I might of missed it but I was >> looking for `__gcov_flush` and I did not find the equivalent in llvm at the >> moment. >> > > __gcov_flush is added by the GCOVProf...
2013 Feb 06
0
[LLVMdev] LLVM Coverage GCDA Flush API
...pidgeot18 at gmail.com>wrote: > >> On 2/6/2013 11:43 AM, John Harrison wrote: >> >>> The way `-ftest-coverage -fprofile-arcs` works at the moment it only >>> flushes via `atexit()`. This patch allows you to flush the coverage at any >>> point by calling `__llvm_gcov_flush` the same way `__gcov_flush` works for >>> gcc. >>> >>> If there is another way of doing this, I might of missed it but I was >>> looking for `__gcov_flush` and I did not find the equivalent in llvm at the >>> moment. >>> >> >> __gco...
2013 Feb 06
0
[LLVMdev] LLVM Coverage GCDA Flush API
On 2/6/2013 11:43 AM, John Harrison wrote: > The way `-ftest-coverage -fprofile-arcs` works at the moment it only > flushes via `atexit()`. This patch allows you to flush the coverage at > any point by calling `__llvm_gcov_flush` the same way `__gcov_flush` > works for gcc. > > If there is another way of doing this, I might of missed it but I was > looking for `__gcov_flush` and I did not find the equivalent in llvm > at the moment. __gcov_flush is added by the GCOVProfiling.cpp pass by GCOVProfiler::in...
2013 Feb 07
1
[LLVMdev] LLVM Coverage GCDA Flush API
...n Wed, Feb 6, 2013 at 10:00 AM, Joshua Cranmer <pidgeot18 at gmail.com> wrote: > On 2/6/2013 11:43 AM, John Harrison wrote: > The way `-ftest-coverage -fprofile-arcs` works at the moment it only flushes via `atexit()`. This patch allows you to flush the coverage at any point by calling `__llvm_gcov_flush` the same way `__gcov_flush` works for gcc. > > If there is another way of doing this, I might of missed it but I was looking for `__gcov_flush` and I did not find the equivalent in llvm at the moment. > > __gcov_flush is added by the GCOVProfiling.cpp pass by GCOVProfiler::insertFlus...