summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/Util
diff options
context:
space:
mode:
Diffstat (limited to 'dev/LibCompiler/Util')
-rw-r--r--dev/LibCompiler/Util/AsmUtils.h (renamed from dev/LibCompiler/Util/LCAsmUtils.h)2
-rw-r--r--dev/LibCompiler/Util/CompilerUtils.h (renamed from dev/LibCompiler/Util/LCClUtils.h)1
-rw-r--r--dev/LibCompiler/Util/DylibHelpers.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/dev/LibCompiler/Util/LCAsmUtils.h b/dev/LibCompiler/Util/AsmUtils.h
index 7728444..f176eda 100644
--- a/dev/LibCompiler/Util/LCAsmUtils.h
+++ b/dev/LibCompiler/Util/AsmUtils.h
@@ -9,7 +9,7 @@
#include <LibCompiler/CodeGen.h>
#include <LibCompiler/Frontend.h>
-#include <LibCompiler/Util/LCClUtils.h>
+#include <LibCompiler/Util/CompilerUtils.h>
using namespace LibCompiler;
diff --git a/dev/LibCompiler/Util/LCClUtils.h b/dev/LibCompiler/Util/CompilerUtils.h
index 94a113c..19e247d 100644
--- a/dev/LibCompiler/Util/LCClUtils.h
+++ b/dev/LibCompiler/Util/CompilerUtils.h
@@ -77,7 +77,6 @@ inline void drvi_crash_handler(std::int32_t id) {
kStdOut << "ERRNO: " << errno << std::endl;
kStdOut << "ERRNO(STRING): " << strerror(errno) << std::endl;
-
switch (id) {
case SIGSEGV: {
kStdOut << "SIGNAL: Segmentation Fault." << kBlank << std::endl;
diff --git a/dev/LibCompiler/Util/DylibHelpers.h b/dev/LibCompiler/Util/DylibHelpers.h
index 71ca230..e61cf9c 100644
--- a/dev/LibCompiler/Util/DylibHelpers.h
+++ b/dev/LibCompiler/Util/DylibHelpers.h
@@ -9,5 +9,5 @@
#include <LibCompiler/Defines.h>
#include <dlfcn.h>
-typedef Int32(*LibCompilerEntrypoint)(Int32 argc, CharType const* argv[]);
+typedef Int32 (*LibCompilerEntrypoint)(Int32 argc, CharType const* argv[]);
typedef VoidPtr DylibHandle;