diff options
author | Wei Mi <wmi@google.com> | 2018-06-11 22:40:43 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2018-06-11 22:40:43 +0000 |
commit | a0c0857e7a2398237d00a13ad9ac7078c0148578 (patch) | |
tree | 7ed375920f8708f1cc9ef6ca32651cb7c166abef /lldb/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/main.cpp | |
parent | 19b22d406d5d37428cb62f0f8b0de79afbe99b63 (diff) | |
download | bcm5719-llvm-a0c0857e7a2398237d00a13ad9ac7078c0148578.tar.gz bcm5719-llvm-a0c0857e7a2398237d00a13ad9ac7078c0148578.zip |
[SampleFDO] Add a new compact binary format for sample profile.
Name table occupies a big chunk of size in current binary format sample profile.
In order to reduce its size, the patch changes the sample writer/reader to
save/restore MD5Hash of names in the name table. Sample annotation phase will
also use MD5Hash of name to query samples accordingly.
Experiment shows compact binary format can reduce the size of sample profile by
2/3 compared with binary format generally.
Differential Revision: https://reviews.llvm.org/D47955
llvm-svn: 334447
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/main.cpp')
0 files changed, 0 insertions, 0 deletions