diff options
author | Tim Murray <timmurray@google.com> | 2014-03-07 13:15:57 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-03-14 17:13:27 -0700 |
commit | 8aa5ce8cbaa58d14493eb694f06c8a0fde23c509 (patch) | |
tree | 343d7ce8767a0a37430083e6b4a567ebb30c19f4 /device | |
parent | 130045bafb1899ab3ba3a4eab679a7df08321796 (diff) | |
download | external_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')
-rw-r--r-- | device/include/llvm/Config/AsmParsers.def | 2 | ||||
-rw-r--r-- | device/include/llvm/Config/AsmPrinters.def | 2 | ||||
-rw-r--r-- | device/include/llvm/Config/Disassemblers.def | 2 | ||||
-rw-r--r-- | device/include/llvm/Config/Targets.def | 4 |
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 |