Provide additional information about global variables.
Bug: 20306487
This patch extends our global information pass to include details about the
type of a global variable, whether or not it is static, constant, or a
pointer. It also refactors code that deals with conversion between
RenderScript's internal data types and LLVM's type system. A subtle bug
has also been fixed with respect to the RSInvokeHelperPass. The previous
version could ignore an rs_* object that did not have a numeric suffix.
The new helper function properly addresses cases like this.
Change-Id: If9c933a885bf6a9063b7edec3f0873e1b144188d
diff --git a/libbcc-host-build.mk b/libbcc-host-build.mk
index 5ccd657..3a8839f 100644
--- a/libbcc-host-build.mk
+++ b/libbcc-host-build.mk
@@ -42,6 +42,7 @@
LOCAL_C_INCLUDES := \
$(LIBBCC_ROOT_PATH)/include \
+ $(RS_ROOT_PATH) \
$(LLVM_ROOT_PATH)/include \
$(LLVM_ROOT_PATH)/host/include \
$(LOCAL_C_INCLUDES)