1 //===- Hexagon.h ----------------------------------------------------------===// 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 #ifndef MCLD_HEXAGON_H 10 #define MCLD_HEXAGON_H 11 #include <string> 12 #include <mcld/Target/TargetMachine.h> 13 14 namespace llvm { 15 16 class Target; 17 18 } // namespace of llvm 19 20 namespace mcld { 21 22 class TargetLDBackend; 23 24 extern mcld::Target TheHexagonTarget; 25 26 TargetLDBackend* 27 createHexagonLDBackend(const llvm::Target&, const std::string&); 28 29 } // namespace of mcld 30 31 #endif 32 33