c754d49ee856be620e041348a9f2b3d5610a5a26 |
|
09-Jan-2015 |
Stephen Hines <srhines@google.com> |
Add proper getAnalysisUsage() implementations to each Pass. Change-Id: I2db9201dbfe5e8d705a873212f1f69f1fb7b5c20
/frameworks/compile/libbcc/lib/Renderscript/RSScreenFunctionsPass.cpp
|
5db508c73e6177eb306bac4725616b7c001587c4 |
|
06-Jan-2015 |
Stephen Hines <srhines@google.com> |
Fix a few bugs in RSScreenFunctionsPass. Bug: 18322681 This patch fixes a few small issues: 1) The debug context runtime stubs had a few minor name mangling errors. 2) The verification of functions needs to be done after we have stripped away any unused code. Without this, there are issues with debug contexts, because they have unused references to rsOffset()/rsOffsetNs(). 3) We don't actually need to maintain a separate status return for the pass, since llvm::report_fatal_error() will do the right thing in the case of an illegal function being called. Change-Id: I0afe7cf58148cd132f9356268d5ad8acdce1a02d
/frameworks/compile/libbcc/lib/Renderscript/RSScreenFunctionsPass.cpp
|
1e0557ae75ae780352845bd2ba0f4babdc5ae4e6 |
|
03-Dec-2014 |
Pirama Arumuga Nainar <pirama@google.com> |
BCC updates to handle linkloader removal Bug: 18322681 - Add -fPIC and -embedRSInfo flags to bcc. fPIC generates relocatable object code and -embedRSInfo embeds RS symbol information into the .rs.info variable in the object file. - PIC_ relocation in x86_64 also entails that the CodeModel must be small. Otherwise, we end up with TEXTRELs in the shared library. - Add an LLVM pass to screen functions visibile in RS. lib/RenderScript/generate-whitelist.sh is used to automatically generate the stubbed functions to the whitelist. Change-Id: Ib0a16b7e7aff89490ac631885ffa97dd31c184ce
/frameworks/compile/libbcc/lib/Renderscript/RSScreenFunctionsPass.cpp
|