|
|
|||
File indexing completed on 2026-05-10 08:43:52
0001 //===---- CoreContainers.h - Symbol Containers for Core APIs ----*- 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 // Symbol container types for core ORC APIs. 0010 // 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_EXECUTIONENGINE_ORC_CORECONTAINERS_H 0014 #define LLVM_EXECUTIONENGINE_ORC_CORECONTAINERS_H 0015 0016 #include "llvm/ADT/DenseMap.h" 0017 #include "llvm/ADT/DenseSet.h" 0018 #include "llvm/ExecutionEngine/JITSymbol.h" 0019 #include "llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h" 0020 #include "llvm/ExecutionEngine/Orc/SymbolStringPool.h" 0021 0022 #include <vector> 0023 0024 namespace llvm::orc { 0025 0026 class JITDylib; 0027 0028 /// A set of symbol names (represented by SymbolStringPtrs for 0029 // efficiency). 0030 using SymbolNameSet = DenseSet<SymbolStringPtr>; 0031 0032 /// A vector of symbol names. 0033 using SymbolNameVector = std::vector<SymbolStringPtr>; 0034 0035 /// A map from symbol names (as SymbolStringPtrs) to JITSymbols 0036 /// (address/flags pairs). 0037 using SymbolMap = DenseMap<SymbolStringPtr, ExecutorSymbolDef>; 0038 0039 /// A map from symbol names (as SymbolStringPtrs) to JITSymbolFlags. 0040 using SymbolFlagsMap = DenseMap<SymbolStringPtr, JITSymbolFlags>; 0041 0042 /// A map from JITDylibs to sets of symbols. 0043 using SymbolDependenceMap = DenseMap<JITDylib *, SymbolNameSet>; 0044 0045 } // End namespace llvm::orc 0046 0047 #endif // LLVM_EXECUTIONENGINE_ORC_CORECONTAINERS_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|