Special case rs[G|S]etElementAt_long in 32-bit debug contexts
The debug version of rs[G|S]etElementAt_long was expanded from a macro that
assumes the element type in argument (long *) is the same as the type used
to access the allocation. This failed on armeabi-v7a target because the
long type is always 64-bit in RS land, but the driver's implementation
accesses the allocation via a long *, which is 32-bit in the CPU ABI.
This CL fixes the problem by providing special case implementations of
those accessors that access the allocation via int64_t *.
Bug: 37956146
Test: CTS in normal context and affected tests in debug context on Angler
Change-Id: I2071af5db1708d9ee60bf83cf4466003c7a3a71b
1 file changed