summaryrefslogtreecommitdiffstats
path: root/device/include
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 /device/include
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 'device/include')
-rw-r--r--device/include/llvm/Config/AsmParsers.def2
-rw-r--r--device/include/llvm/Config/AsmPrinters.def2
-rw-r--r--device/include/llvm/Config/Disassemblers.def2
-rw-r--r--device/include/llvm/Config/Targets.def4
4 files changed, 9 insertions, 1 deletions
diff --git a/device/include/llvm/Config/AsmParsers.def b/device/include/llvm/Config/AsmParsers.def
index 46d22a1..cf6b221 100644
--- a/device/include/llvm/Config/AsmParsers.def
+++ b/device/include/llvm/Config/AsmParsers.def
@@ -30,6 +30,8 @@
LLVM_ASM_PARSER(Mips)
#elif defined(__i386__)
LLVM_ASM_PARSER(X86)
+#elif defined(__aarch64__)
+ LLVM_ASM_PARSER(AArch64)
#else
# error Unsupported TARGET_ARCH for LLVM_ASM_PARSER
#endif
diff --git a/device/include/llvm/Config/AsmPrinters.def b/device/include/llvm/Config/AsmPrinters.def
index c9c7902..57502f1 100644
--- a/device/include/llvm/Config/AsmPrinters.def
+++ b/device/include/llvm/Config/AsmPrinters.def
@@ -30,6 +30,8 @@
LLVM_ASM_PRINTER(Mips)
#elif defined(__i386__)
LLVM_ASM_PRINTER(X86)
+#elif defined(__aarch64__)
+ LLVM_ASM_PRINTER(AArch64)
#else
# error Unsupported TARGET_ARCH for LLVM_ASM_PRINTER
#endif
diff --git a/device/include/llvm/Config/Disassemblers.def b/device/include/llvm/Config/Disassemblers.def
index 4a834ea..3f135e4 100644
--- a/device/include/llvm/Config/Disassemblers.def
+++ b/device/include/llvm/Config/Disassemblers.def
@@ -30,6 +30,8 @@
LLVM_DISASSEMBLER(Mips)
#elif defined(__i386__)
LLVM_DISASSEMBLER(X86)
+#elif defined(__aarch64__)
+ LLVM_DISASSEMBLER(AArch64)
#else
# error Unsupported TARGET_ARCH for LLVM_DISASSEMBLER
#endif
diff --git a/device/include/llvm/Config/Targets.def b/device/include/llvm/Config/Targets.def
index 4a16bb3..8a08894 100644
--- a/device/include/llvm/Config/Targets.def
+++ b/device/include/llvm/Config/Targets.def
@@ -29,8 +29,10 @@
LLVM_TARGET(Mips)
#elif defined(__i386__)
LLVM_TARGET(X86)
+#elif defined(__aarch64__)
+ LLVM_TARGET(AArch64)
#else
-# error Unsupported TARGET_ARCH for LLVM_ASM_PRINTER
+# error Unsupported TARGET_ARCH for LLVM_TARGET
#endif
#undef LLVM_TARGET