summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-28 14:33:48 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-28 14:33:48 +0200
commit46badbe70a36bb3cb5d86bd9f33aa5481c9709b9 (patch)
tree33f3759845a25c51cea5d92177a3f7ebd269f984 /tools
parent0965112fb81ef3e04010197f68f743c98a7611ba (diff)
feat!: update the kernel codegen to output bit width and origin.
refactor!: refactor codebase, breaking changes. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/cxxdrv.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/cxxdrv.cc b/tools/cxxdrv.cc
index a6f12ee..bc790ff 100644
--- a/tools/cxxdrv.cc
+++ b/tools/cxxdrv.cc
@@ -9,9 +9,9 @@
#include <LibCompiler/Defines.h>
#include <LibCompiler/ErrorID.h>
-#include <LibCompiler/Version.h>
-#include <LibCompiler/Util/LCClUtils.h>
+#include <LibCompiler/Util/CompilerUtils.h>
#include <LibCompiler/Util/DylibHelpers.h>
+#include <LibCompiler/Version.h>
static auto kPath = "/usr/local/lib/libCompiler.dylib";
@@ -21,11 +21,12 @@ Int32 main(Int32 argc, CharType const* argv[]) {
if (!handler) {
kStdOut;
std::printf("error: Could not load dylib in %s: %s\n", kPath, dlerror());
-
+
return EXIT_FAILURE;
}
- LibCompilerEntrypoint entrypoint_cxx = (LibCompilerEntrypoint)dlsym(handler, "CompilerCPlusPlusAMD64");
+ LibCompilerEntrypoint entrypoint_cxx =
+ (LibCompilerEntrypoint) dlsym(handler, "CompilerCPlusPlusAMD64");
if (!entrypoint_cxx) {
kStdOut;