1 //===---- aarch64.cpp - Generic JITLink aarch64 edge kinds, utilities -----===//
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
7 //===----------------------------------------------------------------------===//
9 // Generic utilities for graphs representing aarch64 objects.
11 //===----------------------------------------------------------------------===//
13 #include "llvm/ExecutionEngine/JITLink/aarch64.h"
15 #define DEBUG_TYPE "jitlink"
21 const char *getEdgeKindName(Edge::Kind K
) {
23 case R_AARCH64_CALL26
:
24 return "R_AARCH64_CALL26";
26 return getGenericEdgeKindName(K
);
28 } // namespace aarch64
29 } // namespace jitlink