chromium/v8/test/mkgrokdump/mkgrokdump.cc

// Copyright 2012 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 <stdio.h>

#include "include/libplatform/libplatform.h"
#include "include/v8-array-buffer.h"
#include "include/v8-initialization.h"
#include "src/execution/frames.h"
#include "src/execution/isolate.h"
#include "src/heap/heap-inl.h"
#include "src/heap/paged-spaces-inl.h"
#include "src/heap/read-only-heap.h"
#include "src/heap/safepoint.h"
#include "src/heap/spaces.h"
#include "src/objects/objects-inl.h"

namespace v8 {

static const char* kHeader =;

// Debug builds emit debug code, affecting code object sizes.
#if !defined(DEBUG) && defined(V8_ENABLE_SANDBOX)
static const char* kBuild = "shipping";
#else
static const char* kBuild =;
#endif

class MockArrayBufferAllocator : public v8::ArrayBuffer::Allocator {};

static void DumpKnownMap(FILE* out, i::Heap* heap, const char* space_name,
                         i::Tagged<i::HeapObject> object) {}

static void DumpKnownObject(FILE* out, i::Heap* heap, const char* space_name,
                            i::Tagged<i::HeapObject> object) {}

static void DumpSpaceFirstPageAddress(FILE* out, i::BaseSpace* space,
                                      i::Address first_page) {}

template <typename SpaceT>
static void DumpSpaceFirstPageAddress(FILE* out, SpaceT* space) {}

static int DumpHeapConstants(FILE* out, const char* argv0) {}

}  // namespace v8

int main(int argc, char* argv[]) {}