Broom 1.0.0
A thread-local C++ Garbage Collector
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
platform-base.h File Reference
#include <cstdlib>
#include <format>
#include <print>
#include <string>
#include "src/allocator.h"
Include dependency graph for platform-base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  broom
 
namespace  broom::platform
 

Macros

#define ABORT(m, ...)    ::broom::platform::Abort(__FILE__, __LINE__, m __VA_OPT__(, ) __VA_ARGS__)
 

Functions

voidbroom::platform::GetStackBottom ()
 
template<typename... Args>
BROOM_NORETURN void broom::platform::Abort (const char *file, size_t line, std::format_string< Args... > fmt, Args &&... args)
 
void broom::platform::UnmapMemorySpace (const MemorySpace &space)
 
MemorySpace broom::platform::MapMemorySpace (size_t space_size, MemoryPermissions permissions=Allocator::kDefaultPermissions)
 

Macro Definition Documentation

◆ ABORT

#define ABORT (   m,
  ... 
)     ::broom::platform::Abort(__FILE__, __LINE__, m __VA_OPT__(, ) __VA_ARGS__)

Definition at line 10 of file platform-base.h.