[PATCH] D35149: llvm-profdata: Reduce memory usage by using Error callback rather than member
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 06:14:41 PDT 2017
dblaikie created this revision.
Reduces llvm-profdata memory usage on a large profile from 7.8GB to 5.1GB.
This also allows all the errors/warnings to be printed rather than only
the first.
https://reviews.llvm.org/D35149
Files:
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfWriter.h
lib/ProfileData/InstrProf.cpp
lib/ProfileData/InstrProfWriter.cpp
tools/llvm-profdata/llvm-profdata.cpp
unittests/ProfileData/CoverageMappingTest.cpp
unittests/ProfileData/InstrProfTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35149.105702.patch
Type: text/x-patch
Size: 30082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170709/ea6ac546/attachment-0001.bin>
More information about the llvm-commits
mailing list