From 35ac989886dcab70ff4ba6bc6a1359d1290560ad Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 1 May 2025 08:35:38 +0200 Subject: ld64: Make linker more robust, and extend PEF to version 4. Signed-off-by: Amlal --- dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc') diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc index 8597d41..b4725a4 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc @@ -20,7 +20,6 @@ #include #include #include -#include #include @@ -50,13 +49,6 @@ ///////////////////////////////////// -/// @internal -static void cxxdrv_chaos_handler(std::int32_t _) { - pfd::notify("NeKernel C++ Compiler Driver", - "CxxDrv just crashed, please report this to the developers."); - std::exit(LIBCOMPILER_EXEC_ERROR); -} - /// @internal namespace Detail { std::filesystem::path expand_home(const std::filesystem::path& p) { @@ -939,7 +931,7 @@ LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64) { kFactory.Mount(new AssemblyCPlusPlusInterface()); kCompilerFrontend = new CompilerFrontendCPlusPlus(); - ::signal(SIGSEGV, cxxdrv_chaos_handler); + ::signal(SIGSEGV, Detail::segfault_handler); for (auto index = 1UL; index < argc; ++index) { if (argv[index][0] == '-') { -- cgit v1.2.3