diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-30 23:11:57 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-30 23:11:57 +0000 |
commit | 6c3c9483e716ea243f407031fcd5615335e63276 (patch) | |
tree | 21c8b11b7e75d0bad950450ad7d6e2eb6e244ffb /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc | |
parent | 310f6b89b198a2e7138c401fd442c98d84e14bb2 (diff) | |
download | bcm5719-llvm-6c3c9483e716ea243f407031fcd5615335e63276.tar.gz bcm5719-llvm-6c3c9483e716ea243f407031fcd5615335e63276.zip |
[Remarks] Add an LLVM-bitstream-based remark serializer
Add a new serializer, using a binary format based on the LLVM bitstream
format.
This format provides a way to serialize the remarks in two modes:
1) Separate mode: the metadata is separate from the remark entries.
2) Standalone mode: the metadata and the remark entries are in the same
file.
The format contains:
* a meta block: container version, container type, string table,
external file path, remark version
* a remark block: type, remark name, pass name, function name, debug
file, debug line, debug column, hotness, arguments (key, value, debug
file, debug line, debug column)
A string table is required for this format, which will be dumped in the
meta block to be consumed before parsing the remark blocks.
On clang itself, we noticed a size reduction of 13.4x compared to YAML,
and a compile-time reduction of between 1.7% and 3.5% on CTMark.
Differential Revision: https://reviews.llvm.org/D63466
llvm-svn: 367364
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc')
0 files changed, 0 insertions, 0 deletions