search for: lcov

Displaying 20 results from an estimated 34 matches for "lcov".

Did you mean: cov
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! T...
2010 May 07
3
Xen GCOV Patches for latest Xen Unbstable and linux 2.6.18.8 kernel(32/64bit)
...like to highlight here: 1. To create gcov proc dir user /proc/xen, we are explicitly exported xen_base symbol. I want to know your thoughts. 2. XEN_GCOV_PROC config is set as not selected. So someone has to be configured manually as M/Y Known Issues: File vmac.c throw some fault while using with lcov/gcov. This is due to some raw count copy between xen and kernel. I could not able to reproduce it many times, may be someone can try on 64 bit m/c. "My take on this is that zero length array element in gcov_info structure has to be copied separately between xen and kernel. How? I dont know.&qu...
2010 May 07
3
Xen GCOV Patches for latest Xen Unbstable and linux 2.6.18.8 kernel(32/64bit)
...like to highlight here: 1. To create gcov proc dir user /proc/xen, we are explicitly exported xen_base symbol. I want to know your thoughts. 2. XEN_GCOV_PROC config is set as not selected. So someone has to be configured manually as M/Y Known Issues: File vmac.c throw some fault while using with lcov/gcov. This is due to some raw count copy between xen and kernel. I could not able to reproduce it many times, may be someone can try on 64 bit m/c. "My take on this is that zero length array element in gcov_info structure has to be copied separately between xen and kernel. How? I dont know.&qu...
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 th...
2015 May 06
2
[LLVMdev] LCOV per commit
...to handle that. It should not be too hard as I already have most of the things enabled in this job. > The CMakeBuilder is used by almost all ARM/AArch64 and Windows > builders, we could potentially make it run for all archs, and adding > another step might be simple, depending on how that LCOV page works... For now, it uses autotools and it is managed by the same workflow as the packages on llvm.org/apt/ Now, moving to cmake is just a matter of time. Anyway, don't hesitate if you have other comments or suggestions. Glad to know it interests folks, despite all it limitations. Cheer...
2015 May 06
2
[LLVMdev] LCOV per commit
...un to get this coverage information? -- Sanjoy On Wed, May 6, 2015 at 10:17 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > On Wed, May 6, 2015 at 8:28 AM, Renato Golin <renato.golin at linaro.org> > wrote: >> >> Folks, >> >> I was looking at LCOV (http://llvm.org/reports/coverage/) and it's >> nice and all, but it doesn't have much information about which commit >> is that and the difference between two commits. We could then have a >> that report for every buildbot (check-all, test-suite, etc) for the >> pat...
2007 Dec 03
1
Efficient computation of average covariance matrix over a list
...o perform the calculation for a large number of levels and am looking for something more elegant. To be concrete.... u <- 3 n <- 10 x <- rnorm((id*u)) y <- rnorm((id*u)) z <- rnorm((id*u)) id <- gl(u,n) df <- data.frame(id,x,y,z) df.s <- split(xxx,id) lcov <- lapply(df.s,cov) lcov What's an efficient way to compute the average covariance matrix over the list members in "lcov"? Thanks in advance, Rick [[alternative HTML version deleted]]
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 = "foo"; str = arg...
2015 May 06
3
[LLVMdev] LCOV per commit
Folks, I was looking at LCOV (http://llvm.org/reports/coverage/) and it's nice and all, but it doesn't have much information about which commit is that and the difference between two commits. We could then have a that report for every buildbot (check-all, test-suite, etc) for the patches specific to the build, per arch...
2018 Apr 26
3
[lld] - LLD (ELF) code covered by test cases.
...ount of LLD(elf) code covered by our test cases. So my aim was to run the LLD tests we have (run check-lld task) and find out which code was executed/covered and which was not. I used the approach from the next article to do that: http://logan.tw/posts/2015/04/28/check-code-coverage-with-clang-and-lcov/#create-a-wrapper-script-for-lcov In short, it is based on using -fprofile-arcs -ftest-coverage clang flags and then generating the HTML report using lcov and genhtml tools. The results are actually not that bad (I expected we would have much more issues, but glad to see we seem don't :) Cove...
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
2018 Apr 26
0
[lld] - LLD (ELF) code covered by test cases.
...f) code covered by our test cases. So my aim was to run the LLD tests we have (run check-lld task) and find out which code was executed/covered and which was not. > > I used the approach from the next article to do that: > http://logan.tw/posts/2015/04/28/check-code-coverage-with-clang-and-lcov/#create-a-wrapper-script-for-lcov > > In short, it is based on using -fprofile-arcs -ftest-coverage clang flags and then generating the HTML report using lcov and genhtml tools. > > The results are actually not that bad (I expected we would have much more issues, but glad to see we seem...
2020 May 03
2
[EXTERNAL] 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 coverage' feature > > may be a right choice. But i can't find anything to describe branch > coverage explicitly on the official site > <htt...
2014 Mar 07
2
Project for a group of 5
Hi We're a group of 5 CS undergrads. As a part of our Software Engineering course, we are required to work on a large scale software to understand the design of such software. For this, open source is the best choice. We have around 1.5 months for the project (mid-March to April end) and would like to know whether there is any sort of work which can be taken up by us. Looking forward to your
2016 Mar 03
2
[LLVMDev] llvm-cov outputting coverage results as HTML reports
Dear All, I am helping our test team migrate from gcov to llvmcov. They currently generate HTML reports using lcov to easily navigate where coverage is missing. However, there does not seem to be a Windows compatible solution for generating HTML reports using the llvm-cov tools. A possible solution to this problem is for llvm-cov to create html pages that include an overall coverage summary with links to ind...
2016 Mar 03
2
[LLVMDev] llvm-cov outputting coverage results as HTML reports
...Mon-20160229/336622.html > David > > On Thu, Mar 3, 2016 at 7:21 AM, Ying Yi via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Dear All, >> >> I am helping our test team migrate from gcov to llvmcov. They currently >> generate HTML reports using lcov to easily navigate where coverage is >> missing. However, there does not seem to be a Windows compatible solution >> for generating HTML reports using the llvm-cov tools. >> >> A possible solution to this problem is for llvm-cov to create html pages >> that include an...
2014 Jul 07
1
quassel client failure
Hi, Is there something wrong with lcov.xapian.org ? It seems my quassel client suddenly can't connect to it. ------------------ Shangtong Zhang,Second Year Undergraduate, School of Computer Science, Fudan University, China. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/...
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 coverage' feature may be a right choice. But i can't find anything to describe branch coverage explicitly on the official site <https://clang.llvm.org/docs/...
2015 Mar 02
1
GSoC 2015 - Weighting Schemes
Hello everyone! I'm Ayush Tomar, junior undergrad in Computer Science from New Delhi, India. I love C++ coding and working on machine learning and information retrieval project. I was exploring the GSoC ideas for Xapian and the project on "Adding Weighting Schemes" looked really interesting to me. I wanted to work on text mining/IR this summer and this idea seems perfect! I have
2018 Feb 03
2
llvm-dev Digest, Vol 164, Issue 6
...appreciated. (Tanya Lattner via llvm-dev) > 2. Phabricator acting funny (George Karpenkov via llvm-dev) > 3. Re: llvm.memcpy for struct copy (Hongbin Zheng via llvm-dev) > 4. Vector Splitting for Stackmap Operands (Yihan Pang via llvm-dev) > 5. Re: Customizing SBCC for lcov workflows > (Vedant Kumar via llvm-dev) > 6. Re: Debug info error on bitcode inline modification > (David Blaikie via llvm-dev) > 7. Re: retpoline mitigation and 6.0 (David Woodhouse via llvm-dev) > 8. LLVM buildmaster will be updated and restarted tonight >...