diff options
| author | Lukas Kuklinek <lukas.kuklinek@codeplay.com> | 2015-11-19 19:14:10 +0000 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2016-02-11 18:28:39 -0800 |
| commit | 8c3ddbcb5621543ff1fa55e3fbdfcbc0df6d598b (patch) | |
| tree | 36353754d7ea4c0db279ae6f153220fd566db086 /cpp/Element.cpp | |
| parent | f7f9316f4cf373733285f947bea876ead7216715 (diff) | |
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
Diffstat (limited to 'cpp/Element.cpp')
0 files changed, 0 insertions, 0 deletions
