Embed RS metadata info directly in emitted object code.
Bug: 7419958
Change-Id: Ibd82e503c006532aa74013a46dd13ec3e9473daa
diff --git a/lib/Renderscript/RSExecutable.cpp b/lib/Renderscript/RSExecutable.cpp
index c73fd5e..b918835 100644
--- a/lib/Renderscript/RSExecutable.cpp
+++ b/lib/Renderscript/RSExecutable.cpp
@@ -28,11 +28,11 @@
using namespace bcc;
const char *RSExecutable::SpecialFunctionNames[] = {
- "root",
- "init",
- ".rs.dtor",
- // Must be NULL-terminated.
- NULL
+ "root", // Graphics drawing function or compute kernel.
+ "init", // Initialization routine called implicitly on startup.
+ ".rs.dtor", // Static global destructor for a script instance.
+ ".rs.info", // Variable containing string of RS metadata info.
+ NULL // Must be NULL-terminated.
};
RSExecutable *RSExecutable::Create(RSInfo &pInfo,