LLVM 24.0.0git
GsymCreatorV1.h
Go to the documentation of this file.
1//===- GsymCreatorV1.h ------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_GSYM_GSYMCREATORV1_H
10#define LLVM_DEBUGINFO_GSYM_GSYMCREATORV1_H
11
14
15namespace llvm {
16namespace gsym {
17
19 uint64_t calculateHeaderAndTableSize() const override;
20 std::unique_ptr<GsymCreator> createNew() const override {
21 return std::make_unique<GsymCreatorV1>();
22 }
23
24public:
25 uint8_t getStringOffsetSize() const override {
27 }
28 llvm::Error encode(FileWriter &O) const override;
29};
30
31} // namespace gsym
32} // namespace llvm
33
34#endif // LLVM_DEBUGINFO_GSYM_GSYMCREATORV1_H
unsigned uint64_t
#define LLVM_ABI
Definition Compiler.h:215
Lightweight error class with error context and mandatory checking.
Definition Error.h:159
A simplified binary data writer class that doesn't require targets, target definitions,...
Definition FileWriter.h:30
uint8_t getStringOffsetSize() const override
Get the size in bytes needed for encoding string offsets.
This is an optimization pass for GlobalISel generic memory operations.
unsigned encode(MaybeAlign A)
Returns a representation of the alignment that encodes undefined as 0.
Definition Alignment.h:206
static constexpr uint8_t getStringOffsetSize()
Return the size in bytes of string table offsets.
Definition Header.h:98