From 7878653e8dbd65d94ea8ea8bae6e0afd3c3d0af3 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 27 May 2025 23:02:19 +0200 Subject: fix: fix SEGFAULT on CxxDrv (AMD64), caused by a stack corruption. refactor: Refactor LibCompiler's codebase, deperecate older C compilers, and fully focusing on C++ now. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/Util/DylibHelpers.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev/LibCompiler/Util/DylibHelpers.h (limited to 'dev/LibCompiler/Util') diff --git a/dev/LibCompiler/Util/DylibHelpers.h b/dev/LibCompiler/Util/DylibHelpers.h new file mode 100644 index 0000000..71ca230 --- /dev/null +++ b/dev/LibCompiler/Util/DylibHelpers.h @@ -0,0 +1,13 @@ +/* ------------------------------------------- + + Copyright (C) 2025 Amlal EL Mahrouss, all rights reserved + +------------------------------------------- */ + +#pragma once + +#include +#include + +typedef Int32(*LibCompilerEntrypoint)(Int32 argc, CharType const* argv[]); +typedef VoidPtr DylibHandle; -- cgit v1.2.3