1//===- AArch64Diagnostic.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/LD/DWARFLineInfo.h> 11#include "AArch64.h" 12 13using namespace mcld; 14 15namespace mcld { 16//===----------------------------------------------------------------------===// 17// createAArch64Diagnostic - the help function to create corresponding 18// AArch64Diagnostic 19//===----------------------------------------------------------------------===// 20DiagnosticLineInfo* createAArch64DiagLineInfo(const mcld::Target& pTarget, 21 const std::string &pTriple) 22{ 23 return new DWARFLineInfo(); 24} 25 26} // namespace of mcld 27 28//===----------------------------------------------------------------------===// 29// InitializeAArch64Diagnostic 30//===----------------------------------------------------------------------===// 31extern "C" void MCLDInitializeAArch64DiagnosticLineInfo() { 32 // Register the linker frontend 33 mcld::TargetRegistry::RegisterDiagnosticLineInfo(TheAArch64Target, 34 createAArch64DiagLineInfo); 35} 36 37