• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- AArch64TargetInfo.cpp ----------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #include <mcld/Support/TargetRegistry.h>
10 #include <mcld/Support/Target.h>
11 
12 namespace mcld {
13 
14 mcld::Target TheAArch64Target;
15 
MCLDInitializeAArch64LDTargetInfo()16 extern "C" void MCLDInitializeAArch64LDTargetInfo() {
17   // register into mcld::TargetRegistry
18   mcld::RegisterTarget<llvm::Triple::aarch64> X(TheAArch64Target, "aarch64");
19 }
20 
21 } // namespace of mcld
22 
23