diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-03-14 19:31:27 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-03-14 19:31:27 +0000 |
commit | 3cb183b1216636570b38f8189b43db7d11fc39af (patch) | |
tree | dad959e70c802a38537b8b5667c8f480bd17c939 /lldb/packages/Python/lldbsuite/support/sockutil.py | |
parent | 43dcf4d330452605faf895f00732f5414127fd61 (diff) | |
download | bcm5719-llvm-3cb183b1216636570b38f8189b43db7d11fc39af.tar.gz bcm5719-llvm-3cb183b1216636570b38f8189b43db7d11fc39af.zip |
Modules: Optimize bitcode encoding of diagnostic state
Since bitcode uses VBR encoding, large numbers are more expensive than
small ones. Instead of emitting a UINT_MAX sentinel after each sequence
of state-change pairs, emit the size of the sequence as a prefix.
This should have no functionality change besides saving bits from the
encoding.
llvm-svn: 297770
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/sockutil.py')
0 files changed, 0 insertions, 0 deletions