History log of /llvm-project/llvm/tools/llvm-cov/CodeCoverage.cpp (Results 101 – 125 of 200)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f2b067c4 05-Feb-2017 Vedant Kumar <vsk@apple.com>

[llvm-cov] Demangle symbols in function summaries (fixes PR31394)

llvm-svn: 294136


# 6e28bcdc 05-Feb-2017 Vedant Kumar <vsk@apple.com>

[llvm-cov] Refactor logic for storing demangled symbols, NFC

llvm-svn: 294135


# b6bfd47f 05-Feb-2017 Vedant Kumar <vsk@apple.com>

[llvm-cov] Fix a comment, NFC

llvm-svn: 294134


Revision tags: llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2
# e6ba5efa 30-Nov-2016 Benjamin Kramer <benny.kra@googlemail.com>

Apply clang-tidy's 'performance-faster-string-find' check to LLVM.

No functionality change intended.

llvm-svn: 288235


Revision tags: llvmorg-3.9.1-rc1
# dae11f7a 20-Nov-2016 Simon Pilgrim <llvm-dev@redking.me.uk>

Fix spelling mistakes in Tools/Tests comments. NFC.

Identified by Pedro Giffuni in PR27636.

llvm-svn: 287489


# 22c1b7c1 25-Oct-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Don't use colored output until we know it's supported

CodeCoverageTool::error() depends on CoverageViewOptions::Colors being
initialized. Should fix:

http://lab.llvm.org:8011/builders/

[llvm-cov] Don't use colored output until we know it's supported

CodeCoverageTool::error() depends on CoverageViewOptions::Colors being
initialized. Should fix:

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/56

llvm-svn: 285103

show more ...


# a3661eff 25-Oct-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Add support for loading coverage from multiple objects

Differential Revision: https://reviews.llvm.org/D25086

llvm-svn: 285088


# 5c61c703 25-Oct-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Do not print out the filename of the object file

When we load coverage data from multiple objects, we don't have a way to
attribute a source object to a function record. Printing out the

[llvm-cov] Do not print out the filename of the object file

When we load coverage data from multiple objects, we don't have a way to
attribute a source object to a function record. Printing out the object
filename next to the source filename is already not very useful: soon,
it'll actually become misleading. Stop printing out the filename now.

llvm-svn: 285043

show more ...


# 757ca886 24-Oct-2016 Pavel Labath <labath@google.com>

Remove TimeValue usage from llvm/Support

Summary:
This is a follow-up to D25416. It removes all usages of TimeValue from
llvm/Support library (except for the actual TimeValue declaration), and repla

Remove TimeValue usage from llvm/Support

Summary:
This is a follow-up to D25416. It removes all usages of TimeValue from
llvm/Support library (except for the actual TimeValue declaration), and replaces
them with appropriate usages of std::chrono. To facilitate this, I have added
small utility functions for converting time points and durations into appropriate
OS-specific types (FILETIME, struct timespec, ...).

Reviewers: zturner, mehdi_amini

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25730

llvm-svn: 284966

show more ...


# 6fd94bf4 19-Oct-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Don't spawn a thread unless ThreadCount > 1

Initializing a ThreadPool with ThreadCount = 1 spawns a thread even
though we don't need to. This is at least slower than it needs to be,
and a

[llvm-cov] Don't spawn a thread unless ThreadCount > 1

Initializing a ThreadPool with ThreadCount = 1 spawns a thread even
though we don't need to. This is at least slower than it needs to be,
and at worst may somehow be exacerbating PR30735 (llvm-cov times out
on ARM bots).

As a follow-up, I'll try to add logic to llvm::ThreadPool to avoid
spawning a thread when ThreadCount = 1.

llvm-svn: 284621

show more ...


# 732afdd0 08-Oct-2016 Mehdi Amini <mehdi.amini@apple.com>

Turn cl::values() (for enum) from a vararg function to using C++ variadic template

The core of the change is supposed to be NFC, however it also fixes
what I believe was an undefined behavior when c

Turn cl::values() (for enum) from a vararg function to using C++ variadic template

The core of the change is supposed to be NFC, however it also fixes
what I believe was an undefined behavior when calling:

va_start(ValueArgs, Desc);

with Desc being a StringRef.

Differential Revision: https://reviews.llvm.org/D25342

llvm-svn: 283671

show more ...


# cab52add 23-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Factor out logic to remove unmapped inputs (NFC)

llvm-svn: 282286


# 45880880 23-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Filter away source files that aren't in the coverage mapping

... so that they don't show up in the index. This came up because polly
contains a .git directory and some other unmapped inpu

[llvm-cov] Filter away source files that aren't in the coverage mapping

... so that they don't show up in the index. This came up because polly
contains a .git directory and some other unmapped input in its source
dir.

llvm-svn: 282282

show more ...


# bc647985 23-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Get rid of all invalid filename references

We used to append filenames into a vector of std::string, and then
append a reference to each string into a separate vector. This made it
easier

[llvm-cov] Get rid of all invalid filename references

We used to append filenames into a vector of std::string, and then
append a reference to each string into a separate vector. This made it
easier to work with the getUniqueSourceFiles API. But it's buggy.

std::string has a small-string optimization, so you can't expect to
capture a reference to one if you're copying it into a growing vector.
Add a test that triggers this invalid reference to std::string scenario,
and kill the issue with fire by just using ArrayRef<std::string>
everywhere.

llvm-svn: 282281

show more ...


# 4610367c 22-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Document some fields in a class (NFC)

llvm-svn: 282203


# 1ce90d88 22-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Add the ability to specify directories of input source files

We've supported restricting coverage reports to a set of files for a
long time. Add support for being able to restrict by enti

[llvm-cov] Add the ability to specify directories of input source files

We've supported restricting coverage reports to a set of files for a
long time. Add support for being able to restrict by entire directories.

I suppose this supersedes D20803.

llvm-svn: 282202

show more ...


# e9079779 20-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Demangle names for hidden instantiation views

llvm-svn: 282020


# a8c396d9 15-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Hide instantiation views for unexecuted functions

Copying in the full text of the function doesn't help at all when we
already know that it's never executed. Just say that it's unexecuted

[llvm-cov] Hide instantiation views for unexecuted functions

Copying in the full text of the function doesn't help at all when we
already know that it's never executed. Just say that it's unexecuted --
the relevant source text has already been printed.

llvm-svn: 281589

show more ...


# a59334da 09-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Emit a summary in the report directory's index

llvm-cov writes out an index file in '-output-dir' mode, albeit not a
very informative one. Try to fix that by using the CoverageReport API

[llvm-cov] Emit a summary in the report directory's index

llvm-cov writes out an index file in '-output-dir' mode, albeit not a
very informative one. Try to fix that by using the CoverageReport API to
include some basic summary information in the index file.

llvm-svn: 281011

show more ...


# 0053c0b6 08-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Use less space to describe source names

In r279628, we made SourceCoverageView list the binary associated with a
view and started adding labels (e.g "Source: foo" or "Function: bar") to
e

[llvm-cov] Use less space to describe source names

In r279628, we made SourceCoverageView list the binary associated with a
view and started adding labels (e.g "Source: foo" or "Function: bar") to
everything. Condense this information a bit to unclutter reports.

llvm-svn: 280896

show more ...


# 702bb9d9 06-Sep-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Clean up the summary class, delete dead code (NFC)

llvm-svn: 280764


# 24e91bd0 06-Sep-2016 Ying Yi <maggieyi666@gmail.com>

[llvm-cov] Add the project summary to the text coverage report for each source file.

This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feat

[llvm-cov] Add the project summary to the text coverage report for each source file.

This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feature as the html view.

Differential Revision: https://reviews.llvm.org/D24241

llvm-svn: 280756

show more ...


# 76eb219c 30-Aug-2016 Ying Yi <maggieyi666@gmail.com>

[llvm-cov] Use the native path in the coverage report.

The coverage reports contain the source or binary file paths. On Windows,
the file path might contain the seperators of both '/' and '\'. This

[llvm-cov] Use the native path in the coverage report.

The coverage reports contain the source or binary file paths. On Windows,
the file path might contain the seperators of both '/' and '\'. This patch
uses the native path in the coverage reports. For example, on Windows,
all '/' are converted to '\'.

Differential Revision: https://reviews.llvm.org/D23922

llvm-svn: 280061

show more ...


Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3
# 84dc971e 24-Aug-2016 Ying Yi <maggieyi666@gmail.com>

[llvm-cov] Add the project summary to each source file coverage report.

This patch includes the following changes:
- Included header "Code coverage report" and include the date that the report was c

[llvm-cov] Add the project summary to each source file coverage report.

This patch includes the following changes:
- Included header "Code coverage report" and include the date that the report was created.
- Included title (as specified in a command line option, (i.e llvm-cov -project-title="Simple Test")
- In the summary, list the elf files that the source code file has contributed to.
- Used column heading for "Line No.", "Count No.", Source".

Differential Revision: https://reviews.llvm.org/D23345

llvm-svn: 279628

show more ...


Revision tags: llvmorg-3.9.0-rc2
# ad547d36 04-Aug-2016 Vedant Kumar <vsk@apple.com>

[llvm-cov] Add some documentation for the -tab-size option

Also, un-hide the cl::opt.

llvm-svn: 277741


12345678