diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-09-02 16:12:39 +0700 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-09-02 16:12:39 +0700 |
commit | 3445ec9ba718035b27c0140dc1e892be843236f5 (patch) | |
tree | edc622c167e391468b4df535348379c14e41d349 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 71eed4808fbc5e5baa016210f727683610139014 (diff) | |
download | llvm-3445ec9ba718035b27c0140dc1e892be843236f5.zip llvm-3445ec9ba718035b27c0140dc1e892be843236f5.tar.gz llvm-3445ec9ba718035b27c0140dc1e892be843236f5.tar.bz2 |
[DebugInfo] Emit a 1-byte value as a terminator of entries list in the name index.
As stated in section 6.1.1.2, DWARFv5, p. 142,
| The last entry for each name is followed by a zero byte that
| terminates the list. There may be gaps between the lists.
The patch changes emitting a 4-byte zero value to a 1-byte one, which
effectively removes the gap between entry lists, and thus saves
approximately 3 bytes per name; the calculation is not exact because
the total size of the table is aligned to 4.
Differential Revision: https://reviews.llvm.org/D86927
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions