Displaying 20 results from an estimated 1000 matches similar to: "[LLVMDev] llvm-cov outputting coverage results as HTML reports"
2016 Mar 03
2
[LLVMDev] llvm-cov outputting coverage results as HTML reports
Xinliang David Li via llvm-dev <llvm-dev at lists.llvm.org> writes:
> Harlan Haskins has recently submitted a patch (for review) that implements
> --format=html for llvm-cov tool. Please take a look at that patch.
For reference, the review thread starts here:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160229/336622.html
> David
>
> On Thu, Mar 3, 2016 at
2016 Mar 28
2
Ignoring coverage for noreturn decls
Hi all,
Recently I’ve noticed in coverage profiles that llvm_unreachable and the like are considered uncovered because there’s no special behavior in instrumentation to ‘ignore’ noreturn paths.
While I don’t necessarily think it’s ideal to ignore all noreturn decls, I think there’s definitely room for some heuristics around ignoring things like llvm_unreachable (perhaps opt-in?). I’m
2016 Mar 29
0
Ignoring coverage for noreturn decls
+ cfe-dev
> On Mar 28, 2016, at 1:23 PM, Harlan Haskins via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi all,
>
> Recently I’ve noticed in coverage profiles that llvm_unreachable and the like are considered uncovered because there’s no special behavior in instrumentation to ‘ignore’ noreturn paths.
FWIW, Daniel Dunbar and a few others have brought up the lack of a
2016 Mar 04
2
llvm-cov accepting many binary files for aggregated coverage reports
Hi All,
I want to provide a solution that presents code coverage reports that
include the aggregated code-counts across many binaries. Our test
engineers currently do this using gcov-mode by merged .gcda data files. We
can do a similar merge of the .profraw files, so that the many binaries are
represented in one .profdata file; However, llvm-cov will only generate
reports based on one binary at
2016 Mar 13
2
Unable to generate lcov test coverage reports (Out of memory error)
Hi all,
I was trying to generate lcov test coverage reports for xapian-core but got
an out of memory error:
$ lcov --capture --directory . --output-file xapian-core.info
Capturing coverage data from .
Found gcov version: 4.7.3
Scanning . for .gcda files ...
Found 270 data files in .
Processing bin/xapian-progsrv.gcda
Out of memory!
These are the steps I followed in xapian-core directory
2017 Aug 23
2
LLVM development trunk - code coverage - branch coverage missing
Hi ,
I could see the LLVM code coverage info at the below links
http://lab.llvm.org:8080/coverage/coverage-reports/clang/index.html
http://llvm.org/reports/coverage/
I am interested in the branch coverage metric. I could not find the branch coverage related info .
Can anyone let me know how to find it.
If it is not available , I am happy to work on it, if I can get some details on why
2020 May 04
2
[EXTERNAL] How to get branch coverage by using 'source-based code coverage'
Hi, Alan
Thanks for making it clear. But I was more confused now :(
I tested on a simple program and used both gcov and lcov to get branch
coverage.
The code and build commands as below:
*Example simple.cc*
#include <string>
// If not comment this line, the branch coverage won't reach to 100%
// #include <iostream>
int main(int argc, const char* argv[]) {
std::string str =
2020 May 03
2
[EXTERNAL] How to get branch coverage by using 'source-based code coverage'
Hi, Alan
Really very excited to receive your email and sorry to be slow replying, it
has been exceptionally busy over the last few days ;(
Your explanation made the problem clear to me. So gcov branch coverage
should be called condition coverage and clang region coverage
is branch coverage in fact(also known as *decision/C1*), right?
And llvm/clang will support all the following coverage
2016 Mar 07
2
llvm-cov accepting many binary files for aggregated coverage reports
Hi David,
In my use case, our test teams want a single html index file that links to
an aggregated coverage report that covers an entire code repository. I see
that there is a new patch of generating html reports, is there a way to
index all of the individual source files into one summary report, where
there are many binary files to consider?
*> I don't see why a wrapper script (that
2020 Apr 26
2
How to get branch coverage by using 'source-based code coverage'
Hi, llvm/clang experts
I need to get the branch coverage for some testing code. But i found gcov
can't give a expected coverage which may
count some 'hidden branch' in (See stackoverflow answer
<https://stackoverflow.com/questions/42003783/lcov-gcov-branch-coverage-with-c-producing-branches-all-over-the-place>).
Instead, I turn to use clang and the 'source-based code
2013 Oct 03
2
[LLVMdev] question about -coverage
Hello,
I have few questions about coverage.
Is there any user-facing documentation for clang's "-coverage" flag?
The coverage instrumentation seems to happen before asan, and so if asan is
also enabled
asan will instrument accesses to @__llvm_gcov_ctr.
This is undesirable and so we'd like to skip these accesses.
Looks like GEP around @__llvm_gcov_ctr have special metadata
2010 Jul 21
2
RGoogleDocs ability to write to spreadsheets broken as of yesterday - CAN PAY FOR FIX
I unfortunately haven't received any responses about this problem. We (the
company I work for) are willing to discuss payment to someone who is willing
to quickly contribute a fix to the RGoogleDocs/RCurl toolchain that will
restore write access. Please contact me directly if you're interested. Thank
you,
-Harlan Harris
On Tue, Jul 20, 2010 at 10:19 AM, Harlan Harris
2010 May 07
3
Xen GCOV Patches for latest Xen Unbstable and linux 2.6.18.8 kernel(32/64bit)
All,
Here are the latest patches to expreiment with gcov profiler for xen
hypervisor. I have tested current patches on Intel i686.
System Details:
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
gcov (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Kernel 2.6.28-11-generic
Distribution: Ubuntu jaunty 9.04
There are some design issue which i would like to highlight here:
1. To create gcov proc dir user /proc/xen, we are
2010 May 07
3
Xen GCOV Patches for latest Xen Unbstable and linux 2.6.18.8 kernel(32/64bit)
All,
Here are the latest patches to expreiment with gcov profiler for xen
hypervisor. I have tested current patches on Intel i686.
System Details:
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
gcov (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Kernel 2.6.28-11-generic
Distribution: Ubuntu jaunty 9.04
There are some design issue which i would like to highlight here:
1. To create gcov proc dir user /proc/xen, we are
2013 Oct 04
0
[LLVMdev] question about -coverage
Another question is about the performance of coverage's at-exit actions
(dumping coverage data on disk).
I've built chromium's base_unittests with -fprofile-arcs -ftest-coverage
and the coverage's at-exit hook takes 22 seconds,
which is 44x more than I am willing to pay.
Most of the time is spent here:
#0 0x00007ffff3b034cd in msync () at ../sysdeps/unix/syscall-template.S:82
#1
2009 Jul 07
1
R2WinBUGS under Linux/WINE fails
Hi,
I'm running wine-1.0.1, OpenBUGS 3.0.3, R 2.9.0, and R2WinBUGS on a Redhat
Enterprise Linux machine.
Following various peoples' suggestions...
This works perfectly (yay!): wine Z:/opt/OpenBUGS/winbugs.exe
Within R, however, I get this:
(setup the example from ?bugs, then....)
R> schools.sim <- bugs(data, inits, parameters, model.file, n.chains=3,
2016 Aug 12
2
A nicer HTML index page for llvm-cov
I've been working on adding code coverage support to my ELLCC project
(http://ellcc.org) and I thought it would be nice to fun the index page
of the HTML output of llvm-cov into something a little prettier and more
useful.
The initial result is here: http://ellcc.org/coverage/
If there is any interest, I'll submit the llvm-cov changes.
-Rich
2015 May 06
2
[LLVMdev] LCOV per commit
Le 06/05/2015 21:05, Renato Golin a écrit :
> On 6 May 2015 at 19:15, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:
>> I could not easily locate this on http://llvm.org/reports/coverage/ so
>> asking here: what workload is the coverage computed over? IOW, what
>> all does the bot run to get this coverage information?
> Nothing is clear in that page. No
2018 Feb 01
1
Customizing SBCC for lcov workflows
I’m working to implement Source Based Code Coverage in a workflow that uses lcov for report generation. We’ve customized our llvm-cov to add a command to convert the SBCC counter data to lcov’s ‘.info’ format. The problem is that the region-based counter definitions in SBCC can span source code regions that can contain blank lines (or lines with only comments). Converting this to lcov’s
2010 Nov 10
3
RGoogleDocs stopped working
Hello,
Some code using RGoogleDocs, which had been working smoothly since the
summer, just stopped working. I know that it worked on November 3rd, but it
doesn't work today. I've confirmed that the login and password still work
when I log in manually. I've confirmed that the URL gives the same error
when I paste it into Firefox. I don't know enough about this web service to
figure