diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-09 22:38:30 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-09 22:40:16 +0100 |
| commit | 462a7e9796970b259815369ffaf4c5e24af3139c (patch) | |
| tree | 96f4b1c8f788881b68d1580498affbea0600c351 /include/CompilerKit/Utilities | |
| parent | 0877f8698ad68a324d866642ab950a5b22e49af1 (diff) | |
wip: Nectar stack and object allocation in frontend.v0.1.2-develop
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/Utilities')
| -rw-r--r-- | include/CompilerKit/Utilities/Compiler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h index 84d6624..2efd7a4 100644 --- a/include/CompilerKit/Utilities/Compiler.h +++ b/include/CompilerKit/Utilities/Compiler.h @@ -65,7 +65,7 @@ inline void print_warning(STLString reason, STLString file) noexcept { /// @internal /// @brief Handler for SIGSEGV signal. inline void drvi_crash_handler(std::int32_t id) { - CompilerKit::STLString verbose_header = "LIBCOMPILER CRASH REPORT - "; + CompilerKit::STLString verbose_header = "COMPILERKIT CRASH REPORT - "; verbose_header += kDistVersion; verbose_header += " - "; verbose_header += CompilerKit::current_date(); @@ -90,6 +90,10 @@ inline void drvi_crash_handler(std::int32_t id) { kStdOut << "ERRNO(STRING): " << strerror(errno) << std::endl; switch (id) { + default: { + kStdOut << "SIGNAL: Unknown Signal (" << id << ")." << kBlank << std::endl; + break; + } case SIGSEGV: { kStdOut << "SIGNAL: Segmentation Fault." << kBlank << std::endl; break; |
