Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:49

0001 //===--- ELF_aarch64.h - JIT link functions for ELF/aarch64 --*- C++ -*----===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 //===----------------------------------------------------------------------===//
0010 //
0011 // jit-link functions for ELF/aarch64.
0012 //
0013 //===----------------------------------------------------------------------===//
0014 
0015 #ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_AARCH64_H
0016 #define LLVM_EXECUTIONENGINE_JITLINK_ELF_AARCH64_H
0017 
0018 #include "llvm/ExecutionEngine/JITLink/JITLink.h"
0019 
0020 namespace llvm {
0021 namespace jitlink {
0022 
0023 /// Create a LinkGraph from an ELF/aarch64 relocatable object
0024 ///
0025 /// Note: The graph does not take ownership of the underlying buffer, nor copy
0026 /// its contents. The caller is responsible for ensuring that the object buffer
0027 /// outlives the graph.
0028 Expected<std::unique_ptr<LinkGraph>> createLinkGraphFromELFObject_aarch64(
0029     MemoryBufferRef ObjectBuffer, std::shared_ptr<orc::SymbolStringPool> SSP);
0030 
0031 /// jit-link the given object buffer, which must be a ELF aarch64 relocatable
0032 /// object file.
0033 void link_ELF_aarch64(std::unique_ptr<LinkGraph> G,
0034                       std::unique_ptr<JITLinkContext> Ctx);
0035 
0036 } // end namespace jitlink
0037 } // end namespace llvm
0038 
0039 #endif // LLVM_EXECUTIONENGINE_JITLINK_ELF_AARCH64_H