commit | cdf49db15c6f10ce8e429d99e39f99b502a586ae | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Fri Sep 23 17:44:13 2022 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Wed Sep 28 12:18:01 2022 +0800 |
tree | a3c7f2068e7e71873ccf3465785b5610d8057d02 | |
parent | adc960d590c53796086fe519d1adc1241f774c98 [diff] |
Allow appending members to structs and classes This commit adds RecordTypeDiffIR::IsExtended() that determines whether the difference is a pure extension, i.e., appending members and increasing the size. The extensions are stored in record_type_extension_diffs in abi_diff messages. They can be ignored by specifying -allow-extensions. Test: ./test.py Bug: 248418092 Change-Id: Ibdef042c6176dc84d2dd61f71a3f88035e943dd4