diff options
author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-26 15:06:23 +0000 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-26 15:06:23 +0000 |
commit | ea4f20c6bef7ee65a820e65f93efe0af97997a14 (patch) | |
tree | cd16956d5f8ada3455914d4b050644897f3657b7 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 0cdf629394ac6b4081aa8952d99442e8c1f313d8 (diff) | |
download | bcm5719-llvm-ea4f20c6bef7ee65a820e65f93efe0af97997a14.tar.gz bcm5719-llvm-ea4f20c6bef7ee65a820e65f93efe0af97997a14.zip |
[clangd] Fix bugs with incorrect memory estimate report
* With the current implementation, `sizeof(std::vector<Chunk>)` is added
twice to the `Dex` memory estimate which is incorrect
* `Dex` logs memory usage estimation before `BackingDataSize` is set and
hence the log report excludes size of the external `SymbolSlab` which is
coupled with `Dex` instance
Reviewed By: ioeric
Differential Revision: https://reviews.llvm.org/D52503
llvm-svn: 343117
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions