diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-27 23:02:19 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-27 23:02:19 +0200 |
| commit | 7878653e8dbd65d94ea8ea8bae6e0afd3c3d0af3 (patch) | |
| tree | 5f77d7f9d500efcafdcb4efb787ce71a5d5ec1ab /dev/LibCompiler/Util | |
| parent | d12204e7302b8f3bd521c782094338733abfded1 (diff) | |
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 <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/Util')
| -rw-r--r-- | dev/LibCompiler/Util/DylibHelpers.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <LibCompiler/Defines.h> +#include <dlfcn.h> + +typedef Int32(*LibCompilerEntrypoint)(Int32 argc, CharType const* argv[]); +typedef VoidPtr DylibHandle; |
