//===---------------------- TableManager.h ----------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Fix edge for edge that needs an entry to reference the target symbol // //===----------------------------------------------------------------------===// #ifndef LLVM_EXECUTIONENGINE_JITLINK_TABLEMANAGER_H #define LLVM_EXECUTIONENGINE_JITLINK_TABLEMANAGER_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/Support/Debug.h" namespace llvm { namespace jitlink { /// A CRTP base for tables that are built on demand, e.g. Global Offset Tables /// and Procedure Linkage Tables. /// The getEntyrForTarget function returns the table entry corresponding to the /// given target, calling down to the implementation class to build an entry if /// one does not already exist. template <typename TableManagerImplT> class TableManager { … }; } // namespace jitlink } // namespace llvm #endif