1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Initial LLVM 18.1.4 support

This commit is contained in:
Brian Fiete 2024-05-01 06:26:14 -04:00
parent aa4f9f7dfa
commit 2dd6423fab
19 changed files with 1288 additions and 711 deletions

View file

@ -585,10 +585,10 @@ void ShowMemoryUsage()
return HeapAlloc(hHeap, dwFlags, dwBytes);
}*/
static void BfFatalErrorHandler(void *user_data, const std::string& reason, bool gen_crash_diag)
static void BfFatalErrorHandler(void *user_data, const char* reason, bool gen_crash_diag)
{
BF_FATAL(reason.c_str());
OutputDebugStrF("LLVM ERROR: %s\n", reason.c_str());
BF_FATAL(reason);
OutputDebugStrF("LLVM ERROR: %s\n", reason);
}
#ifdef BF_PLATFORM_WINDOWS