OSDN Git Service

[DWARF] Shrink AttributeSpec from 24 to 16 bytes.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 21 Sep 2017 15:27:45 +0000 (15:27 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 21 Sep 2017 15:27:45 +0000 (15:27 +0000)
commit93b713bb17fee26d5ecbd8a2d659b78a2d9f06bb
tree00173d996b785b8909fc0c54fecb79590ea5fa40
parent4ea0368021d5a5376b72dcd635b201d2f8991acb
[DWARF] Shrink AttributeSpec from 24 to 16 bytes.

This is a bit ugly because we can't put Optional into a union. Hide all
of that behind a set of accessors and make accesses safer using asserts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313884 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp