diff options
author | Tim Murray <timmurray@google.com> | 2014-03-15 00:18:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-03-15 00:18:39 +0000 |
commit | d3e2a43715e865c6f55f748652a9b29624ea1aab (patch) | |
tree | 343d7ce8767a0a37430083e6b4a567ebb30c19f4 /device | |
parent | 130045bafb1899ab3ba3a4eab679a7df08321796 (diff) | |
parent | 8aa5ce8cbaa58d14493eb694f06c8a0fde23c509 (diff) | |
download | external_llvm-d3e2a43715e865c6f55f748652a9b29624ea1aab.zip external_llvm-d3e2a43715e865c6f55f748652a9b29624ea1aab.tar.gz external_llvm-d3e2a43715e865c6f55f748652a9b29624ea1aab.tar.bz2 |
Merge "Make LLVM build on AArch64."
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 |