commit | 3a51bf53f14774e651f5513f4729354ca662e264 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Thu Jan 12 15:13:23 2023 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Mon Jan 16 17:36:38 2023 +0800 |
tree | 6bcd578213f1c313de0cc0061dc8a0b7a4856813 | |
parent | e07e343451d1a27b80669a020a5b9f032ea47b04 [diff] |
Add a field for arrays of unknown bound The ABI tools do not diff the array length. They cannot distinguish between arrays of unknown bound (e.g., int foo[]) and arrays of zero length (e.g., int bar[0]). To implement array diff, this commit adds "is_of_unknown_bound" field to the ABI dumps. It defaults to false so that it can be omitted for common cases. Test: ./test.py ; update prebuilts/clang-tools and build Bug: 255702405 Change-Id: I5db163eb62e95fa01377ef7202e70cc2a0e89524