BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
cov.c File Reference
#include "cov.h"
#include "covfmt.h"
#include <exec/memory.h>
#include <exec/tasks.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <stabs.h>

Macros

#define NOINST   __attribute__((no_instrument_function))
#define COV_DIR   "TEST:cov"

Functions

void _stext (void)
void _etext (void)
NOINST void __cyg_profile_func_enter (void *fn, void *site)
NOINST void __cyg_profile_func_exit (void *fn, void *site)
NOINST void cov_start (void)
static NOINST void put32 (UBYTE *p, ULONG v)
static NOINST void header (UBYTE *h)
static NOINST void merge (CONST_STRPTR name, const UBYTE *ours)
NOINST void cov_write (void)
 ADD2INIT (cov_start, 0)
 ADD2EXIT (cov_write, 0)

Variables

static UBYTE * cov_map
static ULONG cov_size
static ULONG cov_len

Macro Definition Documentation

◆ COV_DIR

#define COV_DIR   "TEST:cov"

◆ NOINST

#define NOINST   __attribute__((no_instrument_function))

Function Documentation

◆ __cyg_profile_func_enter()

NOINST void __cyg_profile_func_enter ( void * fn,
void * site )

◆ __cyg_profile_func_exit()

NOINST void __cyg_profile_func_exit ( void * fn,
void * site )

◆ _etext()

void _etext ( void )

◆ _stext()

void _stext ( void )
extern

◆ ADD2EXIT()

ADD2EXIT ( cov_write ,
0  )

◆ ADD2INIT()

ADD2INIT ( cov_start ,
0  )

◆ cov_start()

NOINST void cov_start ( void )

◆ cov_write()

NOINST void cov_write ( void )

◆ header()

NOINST void header ( UBYTE * h)
static

◆ merge()

NOINST void merge ( CONST_STRPTR name,
const UBYTE * ours )
static

◆ put32()

NOINST void put32 ( UBYTE * p,
ULONG v )
static

Variable Documentation

◆ cov_len

ULONG cov_len
static

◆ cov_map

UBYTE* cov_map
static

◆ cov_size

ULONG cov_size
static