summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/src/Frontend
diff options
context:
space:
mode:
author0xf00sec <159052166+0xf00sec@users.noreply.github.com>2025-08-08 15:36:56 +0300
committerGitHub <noreply@github.com>2025-08-08 15:36:56 +0300
commit00ca2763dc843d9127376b8e5c5a133659a56a75 (patch)
tree3a2accbd1ce5fee269275dca490ac0e25f6788b7 /dev/CompilerKit/src/Frontend
parent870e0e02f171f2f77057fe0d02627214a4f09ae1 (diff)
CPlusPlusCompilerAMD64.cc
Signed-off-by: 0xf00sec <159052166+0xf00sec@users.noreply.github.com>
Diffstat (limited to 'dev/CompilerKit/src/Frontend')
-rw-r--r--dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
index c31a81c..ad2b8e1 100644
--- a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
+++ b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
@@ -817,6 +817,8 @@ NECTI_MODULE(CompilerCPlusPlusAMD64) {
kCompilerFrontend = new CompilerFrontendCPlusPlusAMD64();
kFactory.Mount(new AssemblyCPlusPlusInterfaceAMD64());
+
+ CompilerKit::install_signal(SIGSEGV, Detail::drvi_crash_handler);
// Ensure cleanup on exit
std::atexit([]() {
@@ -825,7 +827,6 @@ NECTI_MODULE(CompilerCPlusPlusAMD64) {
});
-
for (auto index = 1UL; index < argc; ++index) {
if (!argv[index]) break;
@@ -834,6 +835,7 @@ NECTI_MODULE(CompilerCPlusPlusAMD64) {
skip = false;
continue;
}
+
if (strcmp(argv[index], "-cxx-verbose") == 0) {
kVerbose = true;