9#ifndef LLVM_DEBUGINFO_GSYM_GSYMCREATORV1_H
10#define LLVM_DEBUGINFO_GSYM_GSYMCREATORV1_H
20 std::unique_ptr<GsymCreator> createNew(
bool Quiet)
const override {
21 return std::make_unique<GsymCreatorV1>(
Quiet);
Lightweight error class with error context and mandatory checking.
A simplified binary data writer class that doesn't require targets, target definitions,...
LLVM_ABI llvm::Error encode(FileWriter &O) const override
Encode a GSYM into the file writer stream at the current position.
GsymCreatorV1(bool Quiet=false)
uint8_t getStringOffsetSize() const override
Get the size in bytes needed for encoding string offsets.
virtual uint64_t calculateHeaderAndTableSize() const =0
Calculate the byte size of the GSYM header and tables sizes.
LLVM_ABI GsymCreator(bool Quiet=false)
This is an optimization pass for GlobalISel generic memory operations.