aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorChoongwoo Han <choongwoo.han@microsoft.com>2021-03-23 15:59:45 -0700
committerVedant Kumar <vsk@apple.com>2021-03-23 16:25:20 -0700
commit772e1dd1ddc0cf138ab1a5e88d9614229e978491 (patch)
treed363d0998570eac332aa006f176d3c71e089de7e /llvm/lib/Object/WasmObjectFile.cpp
parent48d9b2fd8ea36f87b3fc57ddb101ed99d20f25bf (diff)
downloadllvm-772e1dd1ddc0cf138ab1a5e88d9614229e978491.zip
llvm-772e1dd1ddc0cf138ab1a5e88d9614229e978491.tar.gz
llvm-772e1dd1ddc0cf138ab1a5e88d9614229e978491.tar.bz2
[Coverage] Load records immediately
The current implementation keeps buffers generated for each object file until it completes loading of all files. This approach requires a lot of memory if there are a lot of huge object files. Thus, make it to load coverage records immediately rather than waiting for other binaries to be loaded. This reduces memory usage of llvm-cov from >128GB to 5GB when loading Chromium binaries in Windows. Additional testing: check-profile, check-llvm Differential Revision: https://reviews.llvm.org/D99110
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions