v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
platform-embedded-file-writer-aix.h
Go to the documentation of this file.
1// Copyright 2019 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_AIX_H_
6#define V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_AIX_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
32 void DeclareSymbolGlobal(const char* name) override;
33 void DeclareLabel(const char* name) override;
34
35 void SourceInfo(int fileid, const char* filename, int line) override;
36 void DeclareFunctionBegin(const char* name, uint32_t size) override;
37 void DeclareFunctionEnd(const char* name) override;
38
39 void Comment(const char* string) override;
40
41 void FilePrologue() override;
42 void DeclareExternalFilename(int fileid, const char* filename) override;
43 void FileEpilogue() override;
44
45 int IndentedDataDirective(DataDirective directive) override;
46
48
49 private:
52};
53
54} // namespace internal
55} // namespace v8
56
57#endif // V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_AIX_H_
void DeclareExternalFilename(int fileid, const char *filename) override
void DeclareFunctionBegin(const char *name, uint32_t size) override
void DeclareUint32(const char *name, uint32_t value) override
void SourceInfo(int fileid, const char *filename, int line) override
PlatformEmbeddedFileWriterAIX(EmbeddedTargetArch target_arch, EmbeddedTargetOs target_os)
std::string filename
#define DCHECK_EQ(v1, v2)
Definition logging.h:485
#define USE(...)
Definition macros.h:293