summaryrefslogtreecommitdiffstats
path: root/tools/llc
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-03-07 13:15:57 -0800
committerTim Murray <timmurray@google.com>2014-03-14 17:13:27 -0700
commit8aa5ce8cbaa58d14493eb694f06c8a0fde23c509 (patch)
tree343d7ce8767a0a37430083e6b4a567ebb30c19f4 /tools/llc
parent130045bafb1899ab3ba3a4eab679a7df08321796 (diff)
downloadexternal_llvm-8aa5ce8cbaa58d14493eb694f06c8a0fde23c509.zip
external_llvm-8aa5ce8cbaa58d14493eb694f06c8a0fde23c509.tar.gz
external_llvm-8aa5ce8cbaa58d14493eb694f06c8a0fde23c509.tar.bz2
Make LLVM build on AArch64.
bug 13343378 Change-Id: I4152d2437a144645fa0b5a425b7bfdcb3a2a5594
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/llc/Android.mk b/tools/llc/Android.mk
index fde9f8c..0d44444 100644
--- a/tools/llc/Android.mk
+++ b/tools/llc/Android.mk
@@ -58,6 +58,16 @@ llvm_llc_STATIC_LIBRARIES := \
libLLVMCore \
libLLVMSupport
+llvm_llc_arm64_STATIC_LIBRARIES := \
+ libLLVMARM64Info \
+ libLLVMARM64AsmParser \
+ libLLVMARM64CodeGen \
+ libLLVMARM64Disassembler \
+ libLLVMARM64Desc \
+ libLLVMARM64AsmPrinter \
+ libLLVMARM64Utils
+
+
#===---------------------------------------------------------------===
# llc command line tool (host)
@@ -76,6 +86,7 @@ LOCAL_STATIC_LIBRARIES := \
$(llvm_llc_arm_STATIC_LIBRARIES) \
$(llvm_llc_mips_STATIC_LIBRARIES) \
$(llvm_llc_x86_STATIC_LIBRARIES) \
+ $(llvm_llc_arm64_STATIC_LIBRARIES) \
$(llvm_llc_STATIC_LIBRARIES)
LOCAL_LDLIBS += -lpthread -lm -ldl
@@ -108,6 +119,7 @@ LOCAL_STATIC_LIBRARIES_arm := $(llvm_llc_arm_STATIC_LIBRARIES)
LOCAL_STATIC_LIBRARIES_mips := $(llvm_llc_mips_STATIC_LIBRARIES)
LOCAL_STATIC_LIBRARIES_x86 := $(llvm_llc_x86_STATIC_LIBRARIES)
LOCAL_STATIC_LIBRARIES_x86_64 := $(llvm_llc_x86_STATIC_LIBRARIES)
+LOCAL_STATIC_LIBRARIES_arm64 := $(llvm_llc_arm64_STATIC_LIBRARIES)
LOCAL_STATIC_LIBRARIES += $(llvm_llc_STATIC_LIBRARIES)