summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-09-22 18:23:04 +0000
committerVedant Kumar <vsk@apple.com>2017-09-22 18:23:04 +0000
commit0acf3434e7e9f1b1ab828ad8e2d1fcf3c537e6b1 (patch)
tree534b644f62ee3d5b5b67ada764009c8ce814519f /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentc007c42ee987d1a9441c6443c5c0b9aef465c8e4 (diff)
downloadbcm5719-llvm-0acf3434e7e9f1b1ab828ad8e2d1fcf3c537e6b1.tar.gz
bcm5719-llvm-0acf3434e7e9f1b1ab828ad8e2d1fcf3c537e6b1.zip
[Coverage] Add an option to emit limited coverage info
Add an option to emit limited coverage info for unused decls. It's just a cl::opt for now to allow us to experiment quickly. When building llc, this results in an 84% size reduction in the llvm_covmap section, and a similar size reduction in the llvm_prf_names section. In practice I expect the size reduction to be roughly quadratic with the size of the program. The downside is that coverage for headers will no longer be complete. This will make the line/function/region coverage metrics incorrect, since they will be artificially high. One mitigation would be to somehow disable those metrics when using limited-coverage=true. This is related to: llvm.org/PR34533 (make SourceBasedCodeCoverage scale) Differential Revision: https://reviews.llvm.org/D38107 llvm-svn: 314002
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud