LLVM 20.0.0git
|
This class represents DWARF information for source file and it's address map. More...
#include "llvm/DWARFLinker/DWARFFile.h"
Public Types | |
using | UnloadCallbackTy = std::function< void(StringRef FileName)> |
Public Member Functions | |
DWARFFile (StringRef Name, std::unique_ptr< DWARFContext > Dwarf, std::unique_ptr< AddressesMap > Addresses, UnloadCallbackTy UnloadFunc=nullptr) | |
void | unload () |
Unloads object file and corresponding AddressesMap and Dwarf Context. | |
Public Attributes | |
StringRef | FileName |
Object file name. | |
std::unique_ptr< DWARFContext > | Dwarf |
Source DWARF information. | |
std::unique_ptr< AddressesMap > | Addresses |
Helpful address information(list of valid address ranges, relocations). | |
UnloadCallbackTy | UnloadFunc |
Callback to the module keeping object file to unload. | |
This class represents DWARF information for source file and it's address map.
May be used asynchroniously for reading.
Definition at line 25 of file DWARFFile.h.
using llvm::dwarf_linker::DWARFFile::UnloadCallbackTy = std::function<void(StringRef FileName)> |
Definition at line 27 of file DWARFFile.h.
|
inline |
Definition at line 29 of file DWARFFile.h.
|
inline |
Unloads object file and corresponding AddressesMap and Dwarf Context.
Definition at line 48 of file DWARFFile.h.
References Addresses, Dwarf, FileName, and UnloadFunc.
std::unique_ptr<AddressesMap> llvm::dwarf_linker::DWARFFile::Addresses |
Helpful address information(list of valid address ranges, relocations).
Definition at line 42 of file DWARFFile.h.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::clone(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), and unload().
std::unique_ptr<DWARFContext> llvm::dwarf_linker::DWARFFile::Dwarf |
Source DWARF information.
Definition at line 39 of file DWARFFile.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::cloneAndEmitDebugFrame(), llvm::dwarf_linker::parallel::CompileUnit::cloneAndEmitLineTable(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::emitInvariantSections(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::getInputDebugInfoSize(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), llvm::dwarf_linker::parallel::CompileUnit::loadLineTable(), and unload().
StringRef llvm::dwarf_linker::DWARFFile::FileName |
Object file name.
Definition at line 36 of file DWARFFile.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::isClangModuleRef(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::loadClangModule(), and unload().
UnloadCallbackTy llvm::dwarf_linker::DWARFFile::UnloadFunc |
Callback to the module keeping object file to unload.
Definition at line 45 of file DWARFFile.h.
Referenced by unload().