diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-07-10 03:04:59 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-07-10 03:04:59 +0000 |
commit | 98cce00371d271c9da8de806e4cc4c886a85d56c (patch) | |
tree | 7bf32e24c96e9efc62e1c316ab80b595c02a5fba /llvm/docs/tutorial | |
parent | 625cc0ecaf2621cc779780826922e012502e2fa6 (diff) | |
download | bcm5719-llvm-98cce00371d271c9da8de806e4cc4c886a85d56c.tar.gz bcm5719-llvm-98cce00371d271c9da8de806e4cc4c886a85d56c.zip |
llvm-profdata: Reduce memory usage by using Error callback rather than member
Reduces llvm-profdata memory usage on a large profile from 7.8GB to 5.1GB.
The ProfData API now supports reporting all the errors/warnings rather
than only the first, though llvm-profdata ignores everything after the
first for now to preserve existing behavior. (if there's a desire for
other behavior, happy to implement that - but might be as well left for
a separate patch)
Reviewers: davidxl
Differential Revision: https://reviews.llvm.org/D35149
llvm-svn: 307516
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions