mirror of
https://github.com/Awakenchan/LanternEngine.git
synced 2026-11-12 18:08:45 -10:00
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#ifdef _WIN32
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
#include "bbport_guest_memory.h"
|
|
#include "bbport_guest_hooks.h"
|
|
#include "bbport_gnm_hooks.h"
|
|
#include "bbport_free_check.h"
|
|
#include "bbport_heap_sites.h"
|
|
|
|
namespace BbFreeCheck {
|
|
bool Enabled() { return false; }
|
|
void Check(std::uint64_t, std::uint64_t, const void*, Source, std::uint64_t) {}
|
|
std::uint64_t NextFenceSeq() { return 0; }
|
|
void NoteFenceDecoded(std::uint64_t, std::uint64_t, const void*, const void*, std::uint64_t) {}
|
|
void NoteFenceWriting(std::uint64_t) {}
|
|
void NoteFenceWritten(std::uint64_t, std::uint64_t) {}
|
|
bool OnTrapFault(void*, std::uint64_t) { return false; }
|
|
bool OnStaleTrapFault(std::uint64_t) { return false; }
|
|
void NoteSubmit(std::uint64_t, const void*, std::uint64_t) {}
|
|
void DumpAtFault(std::uint64_t, std::uint64_t) {}
|
|
}
|
|
namespace BbHeapSites {
|
|
void Install() {}
|
|
void Report() {}
|
|
void NoteReleaseCheck(unsigned) {}
|
|
void InstallCounters() {}
|
|
bool Counting() { return false; }
|
|
long long LiveAllocations() { return 0; }
|
|
}
|
|
#endif
|