LLVM
13.0.0git
|
Classes | |
struct | AddressRange |
A class that represents an address range. More... | |
class | AddressRanges |
The AddressRanges class helps normalize address range collections. More... | |
struct | CUInfo |
class | DwarfTransformer |
A class that transforms the DWARF in a DWARFContext into GSYM information by populating the GsymCreator object that it is constructed with. More... | |
struct | FileEntry |
Files in GSYM are contained in FileEntry structs where we split the directory and basename into two different strings in the string table. More... | |
class | FileWriter |
A simplified binary data writer class that doesn't require targets, target definitions, architectures, or require any other optional compile time libraries to be enabled via the build process. More... | |
struct | FunctionInfo |
Function information in GSYM files encodes information for one contiguous address range. More... | |
class | GsymCreator |
GsymCreator is used to emit GSYM data to a stand alone file or section within a file. More... | |
class | GsymReader |
GsymReader is used to read GSYM data from a file or buffer. More... | |
struct | Header |
The GSYM header. More... | |
struct | InlineInfo |
Inline information stores the name of the inline function along with an array of address ranges. More... | |
struct | LineEntry |
Line entries are used to encode the line tables in FunctionInfo objects. More... | |
class | LineTable |
LineTable class contains deserialized versions of line tables for each function's address ranges. More... | |
struct | LookupResult |
class | ObjectFileTransformer |
struct | SourceLocation |
struct | StringTable |
String tables in GSYM files are required to start with an empty string at offset zero. More... | |
Typedefs | |
using | SourceLocations = std::vector< SourceLocation > |
Variables | |
constexpr uint32_t | GSYM_MAGIC = 0x4753594d |
constexpr uint32_t | GSYM_CIGAM = 0x4d595347 |
constexpr uint32_t | GSYM_VERSION = 1 |
constexpr size_t | GSYM_MAX_UUID_SIZE = 20 |
using llvm::gsym::SourceLocations = typedef std::vector<SourceLocation> |
Definition at line 38 of file LookupResult.h.
|
inline |
Definition at line 192 of file FunctionInfo.h.
Definition at line 39 of file LineEntry.h.
|
inline |
This sorting will order things consistently by address range first, but then followed by inlining being valid and line tables.
We might end up with a FunctionInfo from debug info that will have the same range as one from the symbol table, but we want to quickly be able to sort and use the best version when creating the final GSYM file.
Definition at line 200 of file FunctionInfo.h.
References llvm::gsym::FunctionInfo::Inline, llvm::gsym::FunctionInfo::OptLineTable, and llvm::gsym::FunctionInfo::Range.
Definition at line 42 of file LineEntry.h.
References llvm::gsym::LineEntry::Addr.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const AddressRange & | R | ||
) |
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const AddressRanges & | AR | ||
) |
Definition at line 70 of file Range.cpp.
References I, llvm::Check::Size, and llvm::gsym::AddressRanges::size().
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const FunctionInfo & | R | ||
) |
Definition at line 27 of file FunctionInfo.cpp.
References HEX32, llvm::gsym::FunctionInfo::Inline, llvm::gsym::FunctionInfo::Name, llvm::gsym::FunctionInfo::OptLineTable, and llvm::gsym::FunctionInfo::Range.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const gsym::LineTable & | LT | ||
) |
Definition at line 289 of file LineTable.cpp.
References llvm::AArch64CC::LT.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const InlineInfo & | FI | ||
) |
Definition at line 21 of file InlineInfo.cpp.
References llvm::gsym::InlineInfo::CallFile, llvm::gsym::InlineInfo::Children, First, HEX32, llvm::gsym::InlineInfo::isValid(), llvm::gsym::InlineInfo::Name, and llvm::gsym::InlineInfo::Ranges.
|
inline |
Definition at line 31 of file LineEntry.h.
References llvm::format(), HEX64, and llvm::AArch64CC::LE.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const llvm::gsym::Header & | H | ||
) |
Definition at line 23 of file Header.cpp.
References llvm::format_hex_no_prefix(), H, HEX16, HEX32, HEX64, HEX8, and I.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const LookupResult & | R | ||
) |
Definition at line 59 of file LookupResult.cpp.
References HEX64, I, llvm::raw_ostream::indent(), llvm::gsym::LookupResult::Locations, and llvm::gsym::LookupResult::LookupAddr.
raw_ostream & llvm::gsym::operator<< | ( | raw_ostream & | OS, |
const SourceLocation & | R | ||
) |
Definition at line 37 of file LookupResult.cpp.
References and, llvm::gsym::SourceLocation::Base, llvm::StringRef::contains(), llvm::gsym::SourceLocation::Dir, llvm::StringRef::empty(), llvm::gsym::SourceLocation::Line, llvm::gsym::SourceLocation::Name, not, llvm::gsym::SourceLocation::Offset, and llvm::StringRef::size().
|
inline |
Definition at line 39 of file StringTable.h.
References HEX32, Offset, S, and llvm::Check::Size.
|
inline |
Definition at line 188 of file FunctionInfo.h.
References llvm::gsym::FunctionInfo::Inline, llvm::gsym::FunctionInfo::Name, llvm::gsym::FunctionInfo::OptLineTable, and llvm::gsym::FunctionInfo::Range.
Definition at line 101 of file Header.cpp.
References llvm::gsym::Header::AddrOffSize, llvm::gsym::Header::BaseAddress, llvm::gsym::Header::Magic, memcmp, llvm::gsym::Header::NumAddresses, llvm::gsym::Header::StrtabOffset, llvm::gsym::Header::StrtabSize, llvm::gsym::Header::UUID, llvm::gsym::Header::UUIDSize, and llvm::gsym::Header::Version.
|
inline |
Definition at line 171 of file InlineInfo.h.
References llvm::gsym::InlineInfo::CallFile, llvm::gsym::InlineInfo::CallLine, llvm::gsym::InlineInfo::Children, llvm::gsym::InlineInfo::Name, and llvm::gsym::InlineInfo::Ranges.
Definition at line 36 of file LineEntry.h.
References llvm::gsym::LineEntry::Addr, llvm::gsym::LineEntry::File, and llvm::gsym::LineEntry::Line.
|
inline |
Definition at line 30 of file LookupResult.h.
References llvm::gsym::SourceLocation::Base, llvm::gsym::SourceLocation::Dir, llvm::gsym::SourceLocation::Line, llvm::gsym::SourceLocation::Name, and llvm::gsym::SourceLocation::Offset.
|
constexpr |
|
constexpr |
Definition at line 24 of file Header.h.
Referenced by llvm::gsym::Header::checkForError(), and llvm::gsym::GsymCreator::encode().
|
constexpr |
Definition at line 27 of file Header.h.
Referenced by llvm::gsym::Header::checkForError(), and llvm::gsym::Header::decode().
|
constexpr |
Definition at line 26 of file Header.h.
Referenced by llvm::gsym::Header::checkForError(), and llvm::gsym::GsymCreator::encode().