9#ifndef LLVM_DWARFLINKER_DWARFFILE_H
10#define LLVM_DWARFLINKER_DWARFFILE_H
45 std::unique_ptr<DWARFContext>
Dwarf;
Represent a constant reference to a string, i.e.
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.
std::string remapPath(StringRef Path) const
std::function< void(StringRef FileName)> UnloadCallbackTy
void unload()
Unloads object file and corresponding AddressesMap and Dwarf Context.
StringRef FileName
Object file name.
UnitOffsetsCallbackTy UnitOffsetsFunc
Reports where a unit landed in the output .debug_info and .debug_addr, for the relocations saved rela...
std::shared_ptr< PrefixMapper > PrefixMap
Maps the path prefixes that the compiler remapped in this file's debug info back to the original ones...
DWARFFile(StringRef Name, std::unique_ptr< DWARFContext > Dwarf, std::unique_ptr< AddressesMap > Addresses, UnloadCallbackTy UnloadFunc=nullptr)
std::function< void(uint64_t OriginalUnitOffset, uint64_t DebugInfoOffset, uint64_t DebugAddrOffset)> UnitOffsetsCallbackTy
std::unique_ptr< DWARFContext > Dwarf
Source DWARF information.
This is an optimization pass for GlobalISel generic memory operations.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.