GCC Code Coverage Report


Directory: ./
File: Os/Stub/DefaultMemory.cpp
Date: 2026-09-03 21:13:48
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ======================================================================
2 // \title Os/Stub/DefaultMemory.cpp
3 // \brief sets default Os::Memory to stub implementation via linker
4 // ======================================================================
5 #include "Os/Delegate.hpp"
6 #include "Os/Memory.hpp"
7 #include "Os/Stub/Memory.hpp"
8
9 namespace Os {
10 1 MemoryInterface* MemoryInterface::getDelegate(MemoryHandleStorage& aligned_new_memory) {
11 1 return Os::Delegate::makeDelegate<MemoryInterface, Os::Stub::Memory::StubMemory>(aligned_new_memory);
12 }
13 } // namespace Os
14