commit | 50ff2639ab6e580bcc6dd59c573034325690dc6d | [log] [tgz] |
---|---|---|
author | David Gross <dgross@google.com> | Thu Jul 06 14:12:46 2017 -0700 |
committer | David Gross <dgross@google.com> | Thu Jul 06 14:12:46 2017 -0700 |
tree | 4e45d05307f6972836f887664268b425a008fa6b | |
parent | 0a1ea1e1edad7a785087f59b59817c66252ed52b [diff] |
Fix assertion when kernel has (illegal) anonymous-typed usrData. If a foreach kernel has a usrData argument of type pointer to anonymous struct, we were getting an assertion. This change fixes the error handling to match that of similar situations where we illegally have an anonymous struct type -- we produce an actual error diagnostic. Test: aosp_angler-eng slang/lit-tests, slang/tests, RsTest (32-bit, 64-bit) Bug: 62136495 Change-Id: I621f2efccd0b992910de43d2174d02d5fb6d98e0