[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / lib / ExecutionEngine / JITLink / aarch64.cpp
blob6dccc4811885132333f4b52a795a55299a275ff4
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.
11 //===----------------------------------------------------------------------===//
13 #include "llvm/ExecutionEngine/JITLink/aarch64.h"
15 #define DEBUG_TYPE "jitlink"
17 namespace llvm {
18 namespace jitlink {
19 namespace aarch64 {
21 const char *getEdgeKindName(Edge::Kind K) {
22 switch (K) {
23 case R_AARCH64_CALL26:
24 return "R_AARCH64_CALL26";
26 return getGenericEdgeKindName(K);
28 } // namespace aarch64
29 } // namespace jitlink
30 } // namespace llvm