chromium/v8/src/profiler/allocation-tracker.cc

// Copyright 2013 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/profiler/allocation-tracker.h"

#include "src/api/api-inl.h"
#include "src/api/api.h"
#include "src/execution/frames-inl.h"
#include "src/handles/global-handles-inl.h"
#include "src/objects/objects-inl.h"
#include "src/profiler/heap-snapshot-generator-inl.h"
#include "src/utils/utils.h"

namespace v8 {
namespace internal {

AllocationTraceNode::AllocationTraceNode(
    AllocationTraceTree* tree, unsigned function_info_index)
    :{}


AllocationTraceNode::~AllocationTraceNode() {}


AllocationTraceNode* AllocationTraceNode::FindChild(
    unsigned function_info_index) {}


AllocationTraceNode* AllocationTraceNode::FindOrAddChild(
    unsigned function_info_index) {}


void AllocationTraceNode::AddAllocation(unsigned size) {}


void AllocationTraceNode::Print(int indent, AllocationTracker* tracker) {}


AllocationTraceTree::AllocationTraceTree()
    :{}

AllocationTraceNode* AllocationTraceTree::AddPathFromEnd(
    base::Vector<const unsigned> path) {}

void AllocationTraceTree::Print(AllocationTracker* tracker) {}

AllocationTracker::FunctionInfo::FunctionInfo()
    :{}

void AddressToTraceMap::AddRange(Address start, int size,
                                 unsigned trace_node_id) {}


unsigned AddressToTraceMap::GetTraceNodeId(Address addr) {}


void AddressToTraceMap::MoveObject(Address from, Address to, int size) {}


void AddressToTraceMap::Clear() {}


void AddressToTraceMap::Print() {}


void AddressToTraceMap::RemoveRange(Address start, Address end) {}

AllocationTracker::AllocationTracker(HeapObjectsMap* ids, StringsStorage* names)
    :{}

AllocationTracker::~AllocationTracker() {}

void AllocationTracker::AllocationEvent(Address addr, int size) {}


static uint32_t SnapshotObjectIdHash(SnapshotObjectId id) {}

AllocationTracker::ScriptData::ScriptData(Tagged<Script> script,
                                          Isolate* isolate,
                                          AllocationTracker* tracker)
    :{}

AllocationTracker::ScriptData::~ScriptData() {}

void AllocationTracker::ScriptData::HandleWeakScript(
    const v8::WeakCallbackInfo<ScriptData>& data) {}

String::LineEndsVector& AllocationTracker::GetOrCreateLineEnds(
    Tagged<Script> script, Isolate* isolate) {}

Script::PositionInfo AllocationTracker::GetScriptPositionInfo(
    Tagged<Script> script, Isolate* isolate, int start) {}

unsigned AllocationTracker::AddFunctionInfo(Tagged<SharedFunctionInfo> shared,
                                            SnapshotObjectId id,
                                            Isolate* isolate) {}

unsigned AllocationTracker::functionInfoIndexForVMState(StateTag state) {}

}  // namespace internal
}  // namespace v8