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 /tools | |
| 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 'tools')
| -rw-r--r-- | tools/cxxdrv.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/cxxdrv.cc b/tools/cxxdrv.cc index 98cc613..a6f12ee 100644 --- a/tools/cxxdrv.cc +++ b/tools/cxxdrv.cc @@ -11,11 +11,7 @@ #include <LibCompiler/ErrorID.h> #include <LibCompiler/Version.h> #include <LibCompiler/Util/LCClUtils.h> -#include <dlfcn.h> - -typedef Int32(*LibCompilerEntrypoint)(Int32 argc, CharType const* argv[]); - -typedef VoidPtr DylibHandle; +#include <LibCompiler/Util/DylibHelpers.h> static auto kPath = "/usr/local/lib/libCompiler.dylib"; |
