#include "hwy/abort.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "hwy/base.h"
#if HWY_IS_ASAN || HWY_IS_MSAN || HWY_IS_TSAN
#include "sanitizer/common_interface_defs.h"
#endif
namespace hwy {
namespace {
std::string GetBaseName(std::string const& file_name) { … }
}
AbortFunc& GetAbortFunc() { … }
AbortFunc SetAbortFunc(AbortFunc func) { … }
HWY_DLLEXPORT HWY_NORETURN void HWY_FORMAT(3, 4)
Abort(const char* file, int line, const char* format, ...) { … }
}