diff options
Diffstat (limited to 'dev/CompilerKit/src')
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 4 |
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; |
