similar to: [LLVMdev] DejaGnu test-suite coverage

Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] DejaGnu test-suite coverage"

2008 May 27
0
[LLVMdev] DejaGnu test-suite coverage
On Mon, May 26, 2008 at 11:27 PM, Gabor Greif <gabor at mac.com> wrote: > Heh, > > my ex-boss would die seeing something like this :-) It's not too hard to produce, let me know if you want details, or ping me on IRC. > Just one comment, does GCOV have a flag for > a third category of lines, like "undesired to execute"? Nope. I'm a subscriber to the
2008 May 28
2
[LLVMdev] DejaGnu test-suite coverage
On May 26, 2008, at 11:55 PM, Chandler Carruth wrote: > This would make the summary of > <http://chandlerc.net/llvm-coverage/lib/Target/PowerPC/ > PPCHazardRecognizers.cpp.gcov.html> > much more favorable. > > I'm not seeing the bad aspect of this particular file? It has pretty > good coverage, is code calling into this "bad"? If so, then >
2008 May 27
2
[LLVMdev] DejaGnu test-suite coverage
Hello, After a fun discussion regarding unit testing and coverage metrics, it came up that we don't have coverage analysis for LLVM proper. With a certain amount of experience in this arena, I set about building a nice overview. I don't have the toolset and commands fully integrated into the build system, and I'm not sure if doing so would be appropriate (its a somewhat fragile and
2008 May 28
0
[LLVMdev] DejaGnu test-suite coverage
On May 26, 2008, at 9:05 PM, Chandler Carruth wrote: > Hello, > > After a fun discussion regarding unit testing and coverage metrics, > it came up that we don't have coverage analysis for LLVM proper. > With a certain amount of experience in this arena, I set about > building a nice overview. I don't have the toolset and commands > fully integrated into the
2008 May 28
0
[LLVMdev] DejaGnu test-suite coverage
On Tue, May 27, 2008 at 8:50 PM, Chris Lattner <sabre at nondot.org> wrote: > I think he means the lines like: > > switch (Opcode) { > > default: assert(0 && "Unknown load!"); > > > where the default case is never executed. > > I would personally appreciate expected to fail tests that ensure the assertions actually catch the bad inputs
2008 May 28
1
[LLVMdev] DejaGnu test-suite coverage
Hi, > > I think he means the lines like: > > > > switch (Opcode) { > > > > default: assert(0 && "Unknown load!"); > > > > > > where the default case is never executed. > > > I would personally appreciate expected to fail tests that ensure the > assertions actually catch the bad inputs that they were designed to
2015 May 27
0
[LLVMdev] GCC compatibility code coverage issue .
Umesh Kalappa <umesh.kalappa0 at gmail.com> writes: > Hi Justin , > > Thank you for the confirmation and we would like to know that ,going > forward the clang has the support the gcc gcov format or use the > -fprofile-instr-generate -fcoverage-mapping and get ride of gcov > format . Going forward, the -fprofile-instr-generate -fcoverage-mapping (which I'll refer to as
2015 May 22
2
[LLVMdev] GCC compatibility code coverage issue .
Hi Justin , Thank you for the confirmation and we would like to know that ,going forward the clang has the support the gcc gcov format or use the -fprofile-instr-generate -fcoverage-mapping and get ride of gcov format . We are planing to customize the clang code coverage for embedded world ,before we start tweaking the gcov / -fprofile-instr-generate code-base ,we would like to take feedback
2014 Feb 13
2
[LLVMdev] asan coverage
On Feb 12, 2014, at 11:43 PM, Kostya Serebryany <kcc at google.com> wrote: > > > > On Thu, Feb 13, 2014 at 11:10 AM, Bob Wilson <bob.wilson at apple.com> wrote: > > On Feb 12, 2014, at 10:31 AM, Kostya Serebryany <kcc at google.com> wrote: > >> Hi, >> >> Justin is making nice commits for llvm-cov, so I thought we may continue this
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 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
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
2014 Feb 13
2
[LLVMdev] asan coverage
On Feb 12, 2014, at 10:31 AM, Kostya Serebryany <kcc at google.com> wrote: > Hi, > > Justin is making nice commits for llvm-cov, so I thought we may continue this discussion now. > The quick-and-dirty implementation of coverage (in asan) is getting some early users and they seem to be happy. > AsanCoverage allows to collect per-function or per-basic-block coverage
2016 Apr 06
2
Writing a test for gcov style coverage crashing after dlclose
Hi Everyone, I have uploaded a patch that allows one to successfully gather gcov/gcda coverage information on programs which unload shared libraries. It¹s a simple fix, just adding a few COMPILER_RT_VISIBILITY (i.e. __attribute__((visibility("hidden")))) in GCDAProfiling.c. Now, I¹d like to include a test program to demonstrate the fix. AFAICT, there seems to be a single test for
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
2013 Feb 06
0
[LLVMdev] LLVM Coverage GCDA Flush API
We do have a gcov "flush" implementation. It should be emitted with the normal coverage code. Is it not showing up? -bw On Feb 5, 2013, at 4:20 PM, John Harrison <ash.gti at gmail.com> wrote: > 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
2017 Jun 14
3
LLVM coverage report
Hi Sylvestre, it seems the code coverage runs are not updated since a couple of months. http://llvm.org/reports/coverage/tools/polly/lib/Support/SCEVValidator.cpp.gcov.html The last run was on 2017-05-20 02:07:48. Are you still maintaining these? Is this on purpose? Any chance this could be fixed? Best, Tobias
2015 Apr 28
4
[LLVMdev] GCC compatibility code coverage issue .
Hi All, We trying to use clang+llvm to generate the gcc coverage format as clang version 3.6.0 $clang --coverage -Xclang -coverage-cfg-checksum -Xclang -coverage-no-function-names-in-data -Xclang -coverage-version='407*' test.c $a.out $llvm-cov gcov test.gcda Unexpected version: *704. Invalid .gcno File! Debugging the above cause ,But any hints from experts here ,will help a lot
2013 Feb 06
2
[LLVMdev] LLVM Coverage GCDA Flush API
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`.
2020 Jun 28
3
Introducing the binary-level coverage analysis tool bcov
Hi Fangrui, Many thanks for providing such detailed feedback! Please find my comments inlined below. - Ammar On Sun, Jun 28, 2020 at 5:59 AM Fangrui Song <maskray at google.com> wrote: > On 2020-06-26, Ammar Ben Khadra via llvm-dev wrote: > >## TL;DR > > > >We introduce bcov, an open-source binary-level coverage analysis tool [1]. > >The details are discussed