2020-12-05 12:20:41 -08:00
|
|
|
#include "libc/fmt/fmt.h"
|
|
|
|
#include "libc/runtime/runtime.h"
|
|
|
|
#include "libc/stdio/stdio.h"
|
|
|
|
#include "libc/str/str.h"
|
|
|
|
|
2023-07-26 13:54:49 -07:00
|
|
|
__static_yoink("sys_mmap"); /* asan needs it */
|
|
|
|
__static_yoink("TrackMemoryInterval"); /* asan needs it */
|
2021-02-07 06:11:44 -08:00
|
|
|
|
2020-12-05 12:20:41 -08:00
|
|
|
#define ASSERT(x, y) Assert2(x, y, #y, __FILE__, __LINE__)
|
|
|
|
#define ASSERT128(x, y) Assert128(x, y, #y, __FILE__, __LINE__)
|
|
|
|
|
|
|
|
void Assert(long, long, char *);
|
|
|
|
void Assert2(long, long, char *, char *, int);
|
|
|
|
void Assert128(__int128, __int128, char *, char *, int);
|