aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lli
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-12-04 01:12:46 -0800
committerStephen Hines <srhines@google.com>2014-12-19 18:23:29 -0800
commit34949bb1a6677c6be4d74fab694f09fbd6eb0e95 (patch)
tree6322671467be8570e8b72a9c77a73b9bb59c4486 /tools/lli
parent121f20f7317b160aedcaabfbe532e328912ffa18 (diff)
downloadexternal_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.zip
external_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.tar.gz
external_llvm-34949bb1a6677c6be4d74fab694f09fbd6eb0e95.tar.bz2
Update LLVM lit test configuration to be able to work for 3.6.
Add support for building more host verification tools: + LLVMHello.so (loadable plugin pass) + lli-child-target + llvm-symbolizer (missing some Android.mk magic) + llvm-vtabledump + verify-uselistorder Change-Id: Id7a9397bf458e97fc330ea0301ebb001750aac7c
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/ChildTarget/Android.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/lli/ChildTarget/Android.mk b/tools/lli/ChildTarget/Android.mk
new file mode 100644
index 0000000..e4836e8
--- /dev/null
+++ b/tools/lli/ChildTarget/Android.mk
@@ -0,0 +1,31 @@
+LOCAL_PATH := $(call my-dir)
+
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../
+
+
+#===---------------------------------------------------------------===
+# lli-child-target command line tool
+#===---------------------------------------------------------------===
+
+lli_child_target_SRC_FILES := \
+ ChildTarget.cpp \
+ ../RemoteTarget.cpp
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := lli-child-target
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_IS_HOST_MODULE := true
+
+LOCAL_SRC_FILES := $(lli_child_target_SRC_FILES)
+
+LOCAL_STATIC_LIBRARIES := \
+ libLLVMSupport
+
+LOCAL_LDLIBS += -lpthread -lm -ldl
+
+include $(LLVM_ROOT_PATH)/llvm.mk
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_HOST_EXECUTABLE)