LLVM: llvm::gsym::CUInfo Struct Reference (original) (raw)
| Public Member Functions | |
|---|---|
| CUInfo (DWARFContext &DICtx, DWARFCompileUnit *CU) | |
| bool | isHighestAddress (uint64_t Addr) const |
| Return true if Addr is the highest address for a given compile unit. | |
| std::optional< uint32_t > | DWARFToGSYMFileIndex (GsymCreator &Gsym, uint32_t DwarfFileIdx) |
| Convert a DWARF compile unit file index into a GSYM global file index. |
| Public Attributes | |
|---|---|
| const DWARFDebugLine::LineTable * | LineTable |
| const char * | CompDir |
| std::vector< uint32_t > | FileCache |
| uint64_t | Language = 0 |
| uint8_t | AddrSize = 0 |
Definition at line 28 of file DwarfTransformer.cpp.
◆ DWARFToGSYMFileIndex()
◆ isHighestAddress()
| bool llvm::gsym::CUInfo::isHighestAddress ( uint64_t Addr) const | inline |
|---|
Return true if Addr is the highest address for a given compile unit.
The highest address is encoded as -1, of all ones in the address. These high addresses are used by some linkers to indicate that a function has been dead stripped or didn't end up in the linked executable.
Definition at line 50 of file DwarfTransformer.cpp.
References AddrSize, and UINT64_MAX.
◆ AddrSize
uint8_t llvm::gsym::CUInfo::AddrSize = 0
◆ CompDir
◆ FileCache
std::vector<uint32_t> llvm::gsym::CUInfo::FileCache
◆ Language
uint64_t llvm::gsym::CUInfo::Language = 0
◆ LineTable
The documentation for this struct was generated from the following file:
- lib/DebugInfo/GSYM/DwarfTransformer.cpp