9#ifndef LLVM_DWARFLINKER_DWARFFILE_H
10#define LLVM_DWARFLINKER_DWARFFILE_H
19namespace dwarf_linker {
39 std::unique_ptr<DWARFContext>
Dwarf;
StringRef - Represent a constant reference to a string, i.e.
This class represents DWARF information for source file and it's address map.
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::function< void(StringRef FileName)> UnloadCallbackTy
void unload()
Unloads object file and corresponding AddressesMap and Dwarf Context.
StringRef FileName
Object file name.
DWARFFile(StringRef Name, std::unique_ptr< DWARFContext > Dwarf, std::unique_ptr< AddressesMap > Addresses, UnloadCallbackTy UnloadFunc=nullptr)
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.