chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-zos.cc

// Copyright 2024 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/snapshot/embedded/platform-embedded-file-writer-zos.h"

#include <stdarg.h>

#include <string>

namespace v8 {
namespace internal {

// https://www.ibm.com/docs/en/zos/2.1.0?topic=conventions-continuation-lines
// for length of HLASM statements and continuation.
static constexpr int kAsmMaxLineLen =;
static constexpr int kAsmContIndentLen =;
static constexpr int kAsmContMaxLen =;

namespace {
int hlasmPrintLine(FILE* fp, const char* fmt, ...) {}
}  // namespace

void PlatformEmbeddedFileWriterZOS::DeclareLabelProlog(const char* name) {}

void PlatformEmbeddedFileWriterZOS::DeclareLabelEpilogue() {}

void PlatformEmbeddedFileWriterZOS::DeclareUint32(const char* name,
                                                  uint32_t value) {}

void PlatformEmbeddedFileWriterZOS::DeclareSymbolGlobal(const char* name) {}

void PlatformEmbeddedFileWriterZOS::AlignToCodeAlignment() {}

void PlatformEmbeddedFileWriterZOS::AlignToDataAlignment() {}

void PlatformEmbeddedFileWriterZOS::Comment(const char* string) {}

void PlatformEmbeddedFileWriterZOS::DeclareLabel(const char* name) {}

void PlatformEmbeddedFileWriterZOS::SourceInfo(int fileid, const char* filename,
                                               int line) {}

void PlatformEmbeddedFileWriterZOS::DeclareFunctionBegin(const char* name,
                                                         uint32_t size) {}

void PlatformEmbeddedFileWriterZOS::DeclareFunctionEnd(const char* name) {}

int PlatformEmbeddedFileWriterZOS::HexLiteral(uint64_t value) {}

void PlatformEmbeddedFileWriterZOS::FilePrologue() {}

void PlatformEmbeddedFileWriterZOS::DeclareExternalFilename(
    int fileid, const char* filename) {}

void PlatformEmbeddedFileWriterZOS::FileEpilogue() {}

int PlatformEmbeddedFileWriterZOS::IndentedDataDirective(
    DataDirective directive) {}

DataDirective PlatformEmbeddedFileWriterZOS::ByteChunkDataDirective() const {}

int PlatformEmbeddedFileWriterZOS::WriteByteChunk(const uint8_t* data) {}

void PlatformEmbeddedFileWriterZOS::SectionText() {}

void PlatformEmbeddedFileWriterZOS::SectionRoData() {}

}  // namespace internal
}  // namespace v8