commit | 82a9f51a146f9efe65b83e63802f48ea1fce5e65 | [log] [tgz] |
---|---|---|
author | Jayant Chowdhary <jchowdhary@google.com> | Mon Dec 18 01:55:40 2017 -0800 |
committer | Jayant Chowdhary <jchowdhary@google.com> | Tue Dec 19 00:21:23 2017 -0800 |
tree | 4341353f25ea4b137b28e7bfc8a4dd6e90786c58 | |
parent | 0ce58c5f2f9e59789463ec6ef18e466b2d526c53 [diff] |
Use mangled name as unique id for C structs as well. Some structs could be included without extern "C" guards. If the same struct is included in a C++ source file and a C source file, it's unique type name will be mangled in one and its name in the other. To work around this inconsistency, mangle their names regardless of context. Bug: 69568963 Test: tests/test.py Change-Id: Ie285c4691dbaa58389a041fee5116ccbfc7985ce