Provide a pass that creates information about global variables in RS.
Bug: 20306487
This change implements RSGlobalInfoPass, which is an optional LLVM pass that
adds several new global variables to a given Module. These variables contain
information about the other RenderScript global variables that are present.
Change-Id: I671013c11c7a528254edad5c66f2858953c0f5c4
diff --git a/lib/Renderscript/Android.mk b/lib/Renderscript/Android.mk
index 47ed2e7..56cae16 100644
--- a/lib/Renderscript/Android.mk
+++ b/lib/Renderscript/Android.mk
@@ -25,6 +25,7 @@
RSCompilerDriver.cpp \
RSEmbedInfo.cpp \
RSForEachExpand.cpp \
+ RSGlobalInfoPass.cpp \
RSInvariant.cpp \
RSScript.cpp \
RSInvokeHelperPass.cpp \