llvm/test/Object/ar-error.test: Don't check the message "No such file or directory".
[oota-llvm.git] / lib / Target / AArch64 / TargetInfo / AArch64TargetInfo.cpp
1 //===-- AArch64TargetInfo.cpp - AArch64 Target Implementation -------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the key registration step for the architecture.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "AArch64.h"
15 #include "llvm/IR/Module.h"
16 #include "llvm/Support/TargetRegistry.h"
17 using namespace llvm;
18
19 Target llvm::TheAArch64leTarget;
20 Target llvm::TheAArch64beTarget;
21
22 extern "C" void LLVMInitializeAArch64TargetInfo() {
23     RegisterTarget<Triple::aarch64, /*HasJIT=*/true>
24     X(TheAArch64leTarget, "aarch64", "AArch64 (ARM 64-bit little endian target)");
25     RegisterTarget<Triple::aarch64_be, /*HasJIT=*/true>
26     Y(TheAArch64beTarget, "aarch64_be", "AArch64 (ARM 64-bit big endian target)");
27 }