History log of /frameworks/rs/driver/runtime/rs_abi_debuginfo.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8c3ddbcb5621543ff1fa55e3fbdfcbc0df6d598b 19-Nov-2015 Lukas Kuklinek <lukas.kuklinek@codeplay.com> Build RenderScript cpu_ref kernel ABI debug info.

This change adds extra debugging information to libclcore_g.bc. The
debug info contains description of ABI interface between the host code
and the expanded kernel. In particular, the type information about
RsExpandKernelDriverInfo struct from cpu_ref/rsCpuCoreRuntime.h (that is
being passed as the first argument to the expanded kernel) is captured.
The function prototype of the expanded kernel function is also mirrored
here in a small stub C file (driver/runtime/rs_abi_debuginfo.c). Clang
is then used to generate the debug information from the file.

(cherry picked from commit ac90816512460a26132b07f1b34c638e49270515)

Change-Id: Idea8c8192cd22eb080306be9a43c6e404b736d92
/frameworks/rs/driver/runtime/rs_abi_debuginfo.c