<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/test/tools/llvm-cov, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-12-04T18:35:14+00:00</updated>
<entry>
<title>Revert "[Coverage] Revise format to reduce binary size"</title>
<updated>2019-12-04T18:35:14+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-12-04T18:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f208b70fbc4dee78067b3c5bd6cb92aa3ba58a1e'/>
<id>urn:sha1:f208b70fbc4dee78067b3c5bd6cb92aa3ba58a1e</id>
<content type='text'>
This reverts commit e18531595bba495946aa52c0a16b9f9238cff8bc.

On Windows, there is an error:

http://lab.llvm.org:8011/builders/sanitizer-windows/builds/54963/steps/stage%201%20check/logs/stdio

error: C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-merging.cpp.tmp.v1.o: Failed to load coverage: Malformed coverage data
</content>
</entry>
<entry>
<title>[Coverage] Revise format to reduce binary size</title>
<updated>2019-12-04T18:10:55+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-10-21T18:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e18531595bba495946aa52c0a16b9f9238cff8bc'/>
<id>urn:sha1:e18531595bba495946aa52c0a16b9f9238cff8bc</id>
<content type='text'>
Revise the coverage mapping format to reduce binary size by:

1. Naming function records and marking them `linkonce_odr`, and
2. Compressing filenames.

This shrinks the size of llc's coverage segment by 82% (334MB -&gt; 62MB)
and speeds up end-to-end single-threaded report generation by 10%. For
reference the compressed name data in llc is 81MB (__llvm_prf_names).

Rationale for changes to the format:

- With the current format, most coverage function records are discarded.
  E.g., more than 97% of the records in llc are *duplicate* placeholders
  for functions visible-but-not-used in TUs. Placeholders *are* used to
  show under-covered functions, but duplicate placeholders waste space.

- We reached general consensus about giving (1) a try at the 2017 code
  coverage BoF [1]. The thinking was that using `linkonce_odr` to merge
  duplicates is simpler than alternatives like teaching build systems
  about a coverage-aware database/module/etc on the side.

- Revising the format is expensive due to the backwards compatibility
  requirement, so we might as well compress filenames while we're at it.
  This shrinks the encoded filenames in llc by 86% (12MB -&gt; 1.6MB).

See CoverageMappingFormat.rst for the details on what exactly has
changed.

Fixes PR34533 [2], hopefully.

[1] http://lists.llvm.org/pipermail/llvm-dev/2017-October/118428.html
[2] https://bugs.llvm.org/show_bug.cgi?id=34533

Differential Revision: https://reviews.llvm.org/D69471
</content>
</entry>
<entry>
<title>Revert "[llvm-cov] Add option to whitelist filenames"</title>
<updated>2019-10-30T05:38:38+00:00</updated>
<author>
<name>Vlad Tsyrklevich</name>
<email>vtsyrklevich@google.com</email>
</author>
<published>2019-10-30T05:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8d24d72f7f8b7a111f96510fc6d62b05bfb7dbec'/>
<id>urn:sha1:8d24d72f7f8b7a111f96510fc6d62b05bfb7dbec</id>
<content type='text'>
This reverts commit bfed824b57d14e2ba98ddbaf1a1410cf04a3e279, the
included test fails on many bots including the sanitier bots, e.g. in
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/36140
</content>
</entry>
<entry>
<title>[llvm-cov] Add option to whitelist filenames</title>
<updated>2019-10-30T01:26:33+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-10-29T22:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bfed824b57d14e2ba98ddbaf1a1410cf04a3e279'/>
<id>urn:sha1:bfed824b57d14e2ba98ddbaf1a1410cf04a3e279</id>
<content type='text'>
Add the `-whitelist-filename-regex` option to restrict coverage
reporting to file paths that match a whitelist regex.

Patch by Michael Daniels!

rdar://56720320
</content>
</entry>
<entry>
<title>Remove some unnecessary REQUIRES: shell lines</title>
<updated>2019-09-10T00:06:52+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-09-10T00:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=87d47cb7c4792cb4dbb6911b9d11e5bd9f2dc928'/>
<id>urn:sha1:87d47cb7c4792cb4dbb6911b9d11e5bd9f2dc928</id>
<content type='text'>
This means these tests will run on Windows. Replace one with
UNSUPPORTED: system-windows.

llvm-svn: 371473
</content>
</entry>
<entry>
<title>Ignore object files that lack coverage information.</title>
<updated>2019-08-28T20:35:50+00:00</updated>
<author>
<name>James Y Knight</name>
<email>jyknight@google.com</email>
</author>
<published>2019-08-28T20:35:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f025968bccde3c10b1245a9619b01c13b7e2caf9'/>
<id>urn:sha1:f025968bccde3c10b1245a9619b01c13b7e2caf9</id>
<content type='text'>
Before this change, if multiple binary files were presented, all of them must have been instrumented or the load would fail with coverage_map_error::no_data_found.

Patch by Dean Sturtevant.

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

llvm-svn: 370257
</content>
</entry>
<entry>
<title>Fix line endings (NFC)</title>
<updated>2019-07-02T13:13:36+00:00</updated>
<author>
<name>Paul Robinson</name>
<email>paul.robinson@sony.com</email>
</author>
<published>2019-07-02T13:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ca4e80182e38e844ba6342847c61a878e5689789'/>
<id>urn:sha1:ca4e80182e38e844ba6342847c61a878e5689789</id>
<content type='text'>
llvm-svn: 364919
</content>
</entry>
<entry>
<title>[llvm-cov[ Fix lcov coverage report contains functions from other compilation units.</title>
<updated>2019-06-28T15:38:25+00:00</updated>
<author>
<name>Max Moroz</name>
<email>mmoroz@chromium.org</email>
</author>
<published>2019-06-28T15:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=176b9f651685c52bce25e700a758bd33e6a5354d'/>
<id>urn:sha1:176b9f651685c52bce25e700a758bd33e6a5354d</id>
<content type='text'>
Summary: Patch by Chuan Qiu (@eagleonhill).

Reviewers: Dor1s

Reviewed By: Dor1s

Subscribers: lebedev.ri, llvm-commits

Tags: #llvm

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

llvm-svn: 364653
</content>
</entry>
<entry>
<title>Add REQUIRES: zlib to test added in r363325 as the profile uses zlib compression.</title>
<updated>2019-06-14T01:08:50+00:00</updated>
<author>
<name>Douglas Yung</name>
<email>douglas.yung@sony.com</email>
</author>
<published>2019-06-14T01:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5b188f8dac089b5ff1edbc86b22e5b40e77b12ed'/>
<id>urn:sha1:5b188f8dac089b5ff1edbc86b22e5b40e77b12ed</id>
<content type='text'>
llvm-svn: 363347
</content>
</entry>
<entry>
<title>[Coverage] Load code coverage data from archives</title>
<updated>2019-06-13T20:48:57+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2019-06-13T20:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=901d04fc6df81279741ab8afff39bcdaa448200f'/>
<id>urn:sha1:901d04fc6df81279741ab8afff39bcdaa448200f</id>
<content type='text'>
Support loading code coverage data from regular archives, thin archives,
and from MachO universal binaries which contain archives.

Testing: check-llvm, check-profile (with {A,UB}San enabled)

rdar://51538999

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

llvm-svn: 363325
</content>
</entry>
</feed>
