diff options
Diffstat (limited to 'dev/LibCompiler')
| -rw-r--r-- | dev/LibCompiler/Detail/ClUtils.h | 4 | ||||
| -rw-r--r-- | dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 | ||||
| -rw-r--r-- | dev/LibCompiler/src/DynamicLinkerPEF.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/dev/LibCompiler/Detail/ClUtils.h b/dev/LibCompiler/Detail/ClUtils.h index 224e4d3..5ec9857 100644 --- a/dev/LibCompiler/Detail/ClUtils.h +++ b/dev/LibCompiler/Detail/ClUtils.h @@ -51,8 +51,8 @@ inline void print_warning(std::string reason, std::string file) noexcept { /// @internal inline void segfault_handler(std::int32_t _) { - pfd::notify("NeKernel Compiler Driver System", + pfd::notify("LibCompiler", "Driver just crashed, please report this to the developers."); std::exit(LIBCOMPILER_EXEC_ERROR); } -} // namespace Detail
\ No newline at end of file +} // namespace Detail diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc index b4725a4..0afdf3e 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc @@ -837,7 +837,7 @@ class AssemblyCPlusPlusInterface final ASSEMBLY_INTERFACE { delete kState.fSyntaxTree; kState.fSyntaxTree = nullptr; - if (kAcceptableErrors > 0) return 1; + if (kAcceptableErrors > 0) return kExitNO; return kExitOK; } @@ -928,8 +928,8 @@ LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64) { kErrorLimit = 100; - kFactory.Mount(new AssemblyCPlusPlusInterface()); kCompilerFrontend = new CompilerFrontendCPlusPlus(); + kFactory.Mount(new AssemblyCPlusPlusInterface()); ::signal(SIGSEGV, Detail::segfault_handler); diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc index 1b2418f..21572bb 100644 --- a/dev/LibCompiler/src/DynamicLinkerPEF.cc +++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc @@ -75,7 +75,7 @@ struct DynamicLinkerBlob final { enum { kABITypeNull = 0, - kABITypeStart = 0x1010, /* Invalid ABI start of ABI list. */ + kABITypeStart = 0x1010, /* The start of ABI list. */ kABITypeNE = 0x5046, /* PF (NeKernel's PEF ABI) */ kABITypeInvalid = 0xFFFF, }; |
