diff options
author | serge-sans-paille <sguelton@mozilla.com> | 2023-11-16 21:55:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 21:55:43 +0000 |
commit | 102f7fce8d8251655be5bf6955af33e55bea9c9e (patch) | |
tree | c0ffcd2240f0b0b6868a4ef7aca5b0abd565588b /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | ae623d16d50c9f12de7ae7ac1aa11c9d6857e081 (diff) | |
download | llvm-102f7fce8d8251655be5bf6955af33e55bea9c9e.zip llvm-102f7fce8d8251655be5bf6955af33e55bea9c9e.tar.gz llvm-102f7fce8d8251655be5bf6955af33e55bea9c9e.tar.bz2 |
[llvm] Reduce memory footprint of Debug metadata nodes (#71227)
Using a combination of reordering fields and using empty SubclassData32
/ SubclassData1, it's possible to improve the size of data structures
used to store debug info in the IR:
Before:
DILexicalBlock: 24
DILexicalBlockFile: 24
DIModule: 24
DITemplateParameter: 24
DICommonBlock: 24
DIMacro: 24
DICompileUnit: 56
DIType: 48
DINamespace: 24
DIVariable: 24
DIGlobalVariable: 32
DILocalVariable: 32
DILabel: 24
After:
DILexicalBlock: 24
DILexicalBlockFile: 16
DIModule: 16
DITemplateParameter: 16
DICommonBlock: 16
DIMacro: 16
DICompileUnit: 48
DIType: 40
DINamespace: 16
DIVariable: 24
DIGlobalVariable: 24
DILocalVariable: 32
DILabel: 16
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
0 files changed, 0 insertions, 0 deletions