|
|
|||
File indexing completed on 2026-05-10 08:43:49
0001 //===------ ELF_ppc64.h - JIT link functions for ELF/ppc64 ------*- 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 // jit-link functions for ELF/ppc64{le}. 0010 // 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_PPC64_H 0014 #define LLVM_EXECUTIONENGINE_JITLINK_ELF_PPC64_H 0015 0016 #include "llvm/ExecutionEngine/JITLink/JITLink.h" 0017 0018 namespace llvm::jitlink { 0019 0020 /// Create a LinkGraph from an ELF/ppc64 relocatable object. 0021 /// 0022 /// Note: The graph does not take ownership of the underlying buffer, nor copy 0023 /// its contents. The caller is responsible for ensuring that the object buffer 0024 /// outlives the graph. 0025 /// 0026 /// WARNING: The big-endian backend has not been tested yet. 0027 Expected<std::unique_ptr<LinkGraph>> 0028 createLinkGraphFromELFObject_ppc64(MemoryBufferRef ObjectBuffer, 0029 std::shared_ptr<orc::SymbolStringPool> SSP); 0030 0031 /// Create a LinkGraph from an ELF/ppc64le relocatable object. 0032 /// 0033 /// Note: The graph does not take ownership of the underlying buffer, nor copy 0034 /// its contents. The caller is responsible for ensuring that the object buffer 0035 /// outlives the graph. 0036 Expected<std::unique_ptr<LinkGraph>> createLinkGraphFromELFObject_ppc64le( 0037 MemoryBufferRef ObjectBuffer, std::shared_ptr<orc::SymbolStringPool> SSP); 0038 0039 /// jit-link the given object buffer, which must be a ELF ppc64le object file. 0040 /// 0041 /// WARNING: The big-endian backend has not been tested yet. 0042 void link_ELF_ppc64(std::unique_ptr<LinkGraph> G, 0043 std::unique_ptr<JITLinkContext> Ctx); 0044 0045 /// jit-link the given object buffer, which must be a ELF ppc64le object file. 0046 void link_ELF_ppc64le(std::unique_ptr<LinkGraph> G, 0047 std::unique_ptr<JITLinkContext> Ctx); 0048 0049 } // end namespace llvm::jitlink 0050 0051 #endif // LLVM_EXECUTIONENGINE_JITLINK_ELF_PPC64_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|