Lines Matching +full:mc +full:- +full:sid
1 //===-- RuntimeDyldImpl.h - Run-time dynamic linker for MC-JIT --*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
43 /// SectionEntry - represents a section emitted into memory by the dynamic
46 /// Name - section name.
49 /// Address - address in the linker's memory where the section resides.
52 /// Size - section size. Doesn't include the stubs.
55 /// LoadAddress - the address of the section in the target process's memory.
56 /// Used for situations in which JIT-ed code is being executed in the address
58 /// space where it was JIT-ed, this just equals Address.
61 /// StubOffset - used for architectures with stub functions for far
69 /// ObjAddress - address of the section in the in-memory object file. Used
115 /// RelocationEntry - used to represent relocations internally in the dynamic
119 /// Offset - offset into the section.
122 /// Addend - the relocation addend encoded in the instruction itself. Also
126 /// SectionID - the section this relocation points to.
129 /// RelType - relocation type.
137 /// SymOffset - Section offset of the relocation entry's symbol (used for GOT
171 : Offset(offset), Addend(SectionAOffset - SectionBOffset + addend), in RelocationEntry()
182 : Offset(offset), Addend(SectionAOffset - SectionBOffset + addend), in RelocationEntry()
250 // referenced in the code by means of their index in this list - SectionID.
256 typedef unsigned SID; // Type for SectionIDs typedef
257 #define RTDYLD_INVALID_SECTION_ID ((RuntimeDyldImpl::SID)(-1))
270 // its address is reassigned (the JIT re-compiled the function, e.g.),
271 // the relocations get re-resolved.
347 /// Endian-aware read Read the least significant Size bytes from Src.
350 /// Endian-aware write. Write the least significant Size bytes from Value to
381 /// Find Section in LocalSections. If the secton is not found - emit
468 this->ProcessAllSections = ProcessAllSections; in setProcessAllSections()
503 const auto &SymInfo = pos->second; in getSymbolLocalAddress()
514 return GSTItr->second.getSectionID(); in getSymbolSectionID()
523 const auto &SymEntry = pos->second; in getSymbol()
579 this->NotifyStubEmitted = std::move(NotifyStubEmitted); in setNotifyStubEmitted()