2020-12-05 20:20:41 +00:00
|
|
|
#include "libc/fmt/fmt.h"
|
|
|
|
#include "libc/runtime/runtime.h"
|
|
|
|
#include "libc/stdio/stdio.h"
|
|
|
|
#include "libc/str/str.h"
|
|
|
|
|
2021-02-24 04:23:19 +00:00
|
|
|
STATIC_YOINK("sys_mmap"); /* asan needs it */
|
2021-02-07 14:11:44 +00:00
|
|
|
STATIC_YOINK("TrackMemoryInterval"); /* asan needs it */
|
|
|
|
|
2020-12-05 20:20:41 +00: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);
|