diff options
| author | Marco Elver <elver@google.com> | 2023-02-08 12:24:51 +0100 |
|---|---|---|
| committer | Marco Elver <elver@google.com> | 2023-02-08 13:12:33 +0100 |
| commit | 3d53b52730034b9ec78871b8dcde8287dd811016 (patch) | |
| tree | 3cd0e047f7d35f3505eb65084259feae041a0ac7 /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | 938fdfc40f7efa87f6a4a9b98213f88315df27d0 (diff) | |
[SanitizerBinaryMetadata] Optimize used space for features and UAR stack args
Optimize the encoding of "covered" metadata by:
1. Reducing feature mask from 4 bytes to 1 byte (needs increase once we
reach more than 8 features).
2. Only emitting UAR stack args size if it is non-zero, saving 4 bytes
in the common case.
One caveat is that the emitted metadata for function PC (offset), size,
and UAR size (if enabled) are no longer aligned to 4 bytes.
SanitizerBinaryMetadata version base is increased to 2, since the change
is backwards incompatible.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D143482
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
