9#ifndef LLVM_DEBUGINFO_GSYM_GLOBALDATA_H
10#define LLVM_DEBUGINFO_GSYM_GLOBALDATA_H
Tagged union holding either a T or a Error.
StringRef - Represent a constant reference to a string, i.e.
The instances of the Type class are immutable: once they are created, they are never changed.
A simplified binary data writer class that doesn't require targets, target definitions,...
LLVM_ABI StringRef getNameForGlobalInfoType(GlobalInfoType Type)
GlobalInfoType
GlobalInfoType allows GSYM files to encode global information within a GSYM file in a way that is ext...
This is an optimization pass for GlobalISel generic memory operations.
Function information in GSYM files encodes information for one contiguous address range.
GlobalData describes a section of data in a GSYM file by its type, file offset, and size.
static LLVM_ABI llvm::Expected< GlobalData > decode(GsymDataExtractor &GsymData, uint64_t &Offset)
Decode a GlobalData entry from a binary data stream.
LLVM_ABI void encode(FileWriter &O) const
Encode this GlobalData entry into a FileWriter stream.
String tables in GSYM files are required to start with an empty string at offset zero.