LLVM: include/llvm/DWARFLinker/DWARFFile.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_DWARFLINKER_DWARFFILE_H
10#define LLVM_DWARFLINKER_DWARFFILE_H
11
15#include
16#include
17
18namespace llvm {
20
21
22
23
24
26public:
28
34
35
37
38
40
41
43
44
46
47
55};
56
57}
58}
59
60#endif
StringRef - Represent a constant reference to a string, i.e.
std::unique_ptr< AddressesMap > Addresses
Helpful address information(list of valid address ranges, relocations).
Definition DWARFFile.h:42
UnloadCallbackTy UnloadFunc
Callback to the module keeping object file to unload.
Definition DWARFFile.h:45
std::function< void(StringRef FileName)> UnloadCallbackTy
Definition DWARFFile.h:27
void unload()
Unloads object file and corresponding AddressesMap and Dwarf Context.
Definition DWARFFile.h:48
StringRef FileName
Object file name.
Definition DWARFFile.h:36
DWARFFile(StringRef Name, std::unique_ptr< DWARFContext > Dwarf, std::unique_ptr< AddressesMap > Addresses, UnloadCallbackTy UnloadFunc=nullptr)
Definition DWARFFile.h:29
std::unique_ptr< DWARFContext > Dwarf
Source DWARF information.
Definition DWARFFile.h:39
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.