LLVM 23.0.0git
Members accessed asynchronously.

Data global for the whole linking process. More...

Variables

std::atomic< size_tllvm::dwarf_linker::parallel::DWARFLinkerImpl::UniqueUnitID
 Unique ID for compile unit.
StringMap< uint64_tllvm::dwarf_linker::parallel::DWARFLinkerImpl::ClangModules
 Mapping the PCM filename to the DwoId.
std::mutex llvm::dwarf_linker::parallel::DWARFLinkerImpl::ClangModulesMutex
std::unique_ptr< TypeUnitllvm::dwarf_linker::parallel::DWARFLinkerImpl::ArtificialTypeUnit
 Type unit.
LinkingGlobalData llvm::dwarf_linker::parallel::DWARFLinkerImpl::GlobalData
StringEntryToDwarfStringPoolEntryMap llvm::dwarf_linker::parallel::DWARFLinkerImpl::DebugStrStrings
 DwarfStringPoolEntries for .debug_str section.
StringEntryToDwarfStringPoolEntryMap llvm::dwarf_linker::parallel::DWARFLinkerImpl::DebugLineStrStrings
 DwarfStringPoolEntries for .debug_line_str section.
SmallVector< std::unique_ptr< LinkContext > > llvm::dwarf_linker::parallel::DWARFLinkerImpl::ObjectContexts
 Keeps all linking contexts.
OutputSections llvm::dwarf_linker::parallel::DWARFLinkerImpl::CommonSections
 Common sections.
SectionHandlerTy llvm::dwarf_linker::parallel::DWARFLinkerImpl::SectionHandler = nullptr
 Hanler for output sections.
ThreadPoolInterfacellvm::dwarf_linker::parallel::DWARFLinkerImpl::ThreadPool = nullptr
 Thread pool that links the object files, or null to use a private pool.

Detailed Description

Data global for the whole linking process.

Variable Documentation

◆ ArtificialTypeUnit

◆ ClangModules

StringMap<uint64_t> llvm::dwarf_linker::parallel::DWARFLinkerImpl::ClangModules
protected

Mapping the PCM filename to the DwoId.

Definition at line 410 of file DWARFLinkerImpl.h.

Referenced by addObjectFile().

◆ ClangModulesMutex

std::mutex llvm::dwarf_linker::parallel::DWARFLinkerImpl::ClangModulesMutex
protected

Definition at line 411 of file DWARFLinkerImpl.h.

◆ CommonSections

OutputSections llvm::dwarf_linker::parallel::DWARFLinkerImpl::CommonSections
protected

◆ DebugLineStrStrings

StringEntryToDwarfStringPoolEntryMap llvm::dwarf_linker::parallel::DWARFLinkerImpl::DebugLineStrStrings
protected

DwarfStringPoolEntries for .debug_line_str section.

Definition at line 427 of file DWARFLinkerImpl.h.

Referenced by assignOffsetsToStrings(), cleanupDataAfterDWARFOutputIsWritten(), DWARFLinkerImpl(), emitStringSections(), and patchOffsetsAndSizes().

◆ DebugStrStrings

StringEntryToDwarfStringPoolEntryMap llvm::dwarf_linker::parallel::DWARFLinkerImpl::DebugStrStrings
protected

◆ GlobalData

◆ ObjectContexts

SmallVector<std::unique_ptr<LinkContext> > llvm::dwarf_linker::parallel::DWARFLinkerImpl::ObjectContexts
protected

◆ SectionHandler

SectionHandlerTy llvm::dwarf_linker::parallel::DWARFLinkerImpl::SectionHandler = nullptr
protected

◆ ThreadPool

ThreadPoolInterface* llvm::dwarf_linker::parallel::DWARFLinkerImpl::ThreadPool = nullptr
protected

Thread pool that links the object files, or null to use a private pool.

Definition at line 439 of file DWARFLinkerImpl.h.

Referenced by link(), and setThreadPool().

◆ UniqueUnitID

std::atomic<size_t> llvm::dwarf_linker::parallel::DWARFLinkerImpl::UniqueUnitID
protected

Unique ID for compile unit.

Definition at line 407 of file DWARFLinkerImpl.h.

Referenced by addObjectFile(), DWARFLinkerImpl(), and link().