8e9089377848628813a697b972773e969b942c3b |
|
07-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update libbcc for LLVM rebase to r256229 http://b/26987366 (cherry picked from commit f229c40f0d2da19985e68955aef1a06ce4121e63) Change-Id: I3d89bb15d0c3e7d64f74656365ed1d472e7de4c7
/frameworks/compile/libbcc/lib/Renderscript/RSAddDebugInfoPass.cpp
|
2351f9290cb9de67e5afb79b2afc7408bf4eb926 |
|
25-Nov-2015 |
Dean De Leo <dean@codeplay.com> |
Improvements to the RSAddDebugInfo pass. This change makes the RSAddDebugInfo pass generate much more complete debug information than before. Newly implemented features and changes: * Debug info for each of the expanded kernel arguments is now generated. This allows the debugger to inspect kernel invocation size, current outer loop indices ('y' and 'z') and other useful information. * Adds debug info for the expanded kernel loop index variable. This allows the debugger to access the current thread index along the 'x' axis. * Pass now uses MetadataExtractor to get the list of kernel functions instead of relying on naming conventions. * Various code improvements. (cherry picked from commit 9d009b0a25bf7eea6f2da2521107dc37acea9acc) Change-Id: I4d6ee8f1bd2844ed85ccd933ead0fb479d716aae
/frameworks/compile/libbcc/lib/Renderscript/RSAddDebugInfoPass.cpp
|
09c7a41f73602bec33e9d392cc959d78931f73c4 |
|
25-Nov-2015 |
Dean De Leo <dean@codeplay.com> |
Initial version of debug info pass for RS. This introduces a new LLVM pass into libbcc called RSAddDebugInfoPass. Its purpose is to add debug information metadata to LLVM constructs generated by the other parts of libbcc. The generated code generally lacks sufficient debugging information as it has not been processed by the clang-based front-end. The initial version of RSAddDebugInfoPass provides the following: 1. It annotates the expanded function generated by RSExpandKernel pass with debug information, stating the name of the function and source file indicating that the function has been generated. 2. It annotates the instructions of the *.expand function with filename/line indicating that the function code has been generated. The source file of both the generated function definition and the instructions that make up the function is mapped to the source location of /opt/renderscriptdebugger/1/generated.rs:1. That might be source-mapped by the debugger to an appropriate file in the SDK, the contents of which clearly indicate that the user is dealing with generated code (i.e. one without a "physical" source file). Change-Id: I2e566160a448d7bfbb3f8d16680e09e43c845693
/frameworks/compile/libbcc/lib/Renderscript/RSAddDebugInfoPass.cpp
|