1 //===---- aarch64.cpp - Generic JITLink aarch64 edge kinds, utilities -----===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // Generic utilities for graphs representing aarch64 objects. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #include "llvm/ExecutionEngine/JITLink/aarch64.h" 14 15 #define DEBUG_TYPE "jitlink" 16 17 namespace llvm { 18 namespace jitlink { 19 namespace aarch64 { 20 21 const char *getEdgeKindName(Edge::Kind K) { 22 switch (K) { 23 case R_AARCH64_CALL26: 24 return "R_AARCH64_CALL26"; 25 } 26 return getGenericEdgeKindName(K); 27 } 28 } // namespace aarch64 29 } // namespace jitlink 30 } // namespace llvm 31