diff options
| author | Amlal <amlal@nekernel.org> | 2025-05-01 08:35:38 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-05-01 08:35:38 +0200 |
| commit | 35ac989886dcab70ff4ba6bc6a1359d1290560ad (patch) | |
| tree | 4ba89bacb3209e8d5763bf9759776c453a1aa413 /dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | |
| parent | 6af5722b2b29731b3d96abfa7c2a512f5984312b (diff) | |
ld64: Make linker more robust, and extend PEF to version 4.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc')
| -rw-r--r-- | dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 10 |
1 files changed, 1 insertions, 9 deletions
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 <LibCompiler/Detail/ClUtils.h> #include <LibCompiler/Parser.h> #include <LibCompiler/UUID.h> -#include <Vendor/Dialogs.h> #include <cstdio> @@ -51,13 +50,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) { if (!p.empty() && p.string()[0] == '~') { @@ -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] == '-') { |
