hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
debug.cpp File Reference
#include <cstdint>
#include <runtime/debug/debug.h>
#include <runtime/build_config.h>
#include <cstdio>
#include <runtime/hperf/hperf.h>
Include dependency graph for debug.cpp:

Go to the source code of this file.

Functions

void runtime_debug_print (const char *message)
 
void runtime_debug_report_current_function (const char *function_name)
 
void runtime_debug_print_address (void *address)
 
void runtime_debug_print_int (int64_t value)
 
void runtime_debug_print_int_1 (int64_t value)
 
void runtime_debug_print_deci (double value)
 
void runtime_debug_report_leave_function (const char *function_name)
 

Function Documentation

◆ runtime_debug_print()

void runtime_debug_print ( const char *  message)

Definition at line 14 of file debug.cpp.

◆ runtime_debug_print_address()

void runtime_debug_print_address ( void *  address)

Definition at line 26 of file debug.cpp.

◆ runtime_debug_print_deci()

void runtime_debug_print_deci ( double  value)

Definition at line 42 of file debug.cpp.

◆ runtime_debug_print_int()

void runtime_debug_print_int ( int64_t  value)

Definition at line 32 of file debug.cpp.

◆ runtime_debug_print_int_1()

void runtime_debug_print_int_1 ( int64_t  value)

Definition at line 38 of file debug.cpp.

◆ runtime_debug_report_current_function()

void runtime_debug_report_current_function ( const char *  function_name)

Definition at line 19 of file debug.cpp.

References hperf_report_func_enter().

Here is the call graph for this function:

◆ runtime_debug_report_leave_function()

void runtime_debug_report_leave_function ( const char *  function_name)

Definition at line 48 of file debug.cpp.

References hperf_report_func_leave().

Here is the call graph for this function: