v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
platform-embedded-file-writer-zos.h
Go to the documentation of this file.
1// Copyright 2024 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_ZOS_H_
6#define V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_ZOS_H_
7
8#include "src/base/macros.h"
10
11namespace v8 {
12namespace internal {
13
15 public:
23
24 void SectionText() override;
25 void SectionRoData() override;
26
27 void AlignToCodeAlignment() override;
28 void AlignToDataAlignment() override;
29
30 void DeclareUint32(const char* name, uint32_t value) override;
31 void DeclareLabel(const char* name) override;
32 void DeclareLabelProlog(const char* name) override;
33 void DeclareLabelEpilogue() override;
34 void SourceInfo(int fileid, const char* filename, int line) override;
35 void DeclareFunctionBegin(const char* name, uint32_t size) override;
36 void DeclareFunctionEnd(const char* name) override;
37
38 int HexLiteral(uint64_t value) override;
39
40 void Comment(const char* string) override;
41
42 void FilePrologue() override;
43 void DeclareExternalFilename(int fileid, const char* filename) override;
44 void FileEpilogue() override;
45
46 int IndentedDataDirective(DataDirective directive) override;
47
49 int WriteByteChunk(const uint8_t* data) override;
50
51 private:
52 void DeclareSymbolGlobal(const char* name) override;
53
54 private:
57};
58
59} // namespace internal
60} // namespace v8
61
62#endif // V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_ZOS_H_
void DeclareUint32(const char *name, uint32_t value) override
void SourceInfo(int fileid, const char *filename, int line) override
PlatformEmbeddedFileWriterZOS(EmbeddedTargetArch target_arch, EmbeddedTargetOs target_os)
void DeclareFunctionBegin(const char *name, uint32_t size) override
void DeclareExternalFilename(int fileid, const char *filename) override
std::string filename
#define DCHECK_EQ(v1, v2)
Definition logging.h:485
#define USE(...)
Definition macros.h:293