summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
AgeCommit message (Collapse)Author
2025-05-23feat!(LibCompiler): Codebase and diagram has been improved.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-22refactor: Reworking the code base, for the C++Drv, and ARM64 assembler.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-22feat(LibCompiler): Validating ::Compile.Amlal El Mahrouss
what? - The C++DRV crashes because of a bogus vector, after ::Compile gets called. - I have to figure out where the vector gets corrupted. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-22feat(LibCompiler): Update AssemblyInterface's Arch method.Amlal El Mahrouss
also: - Figured out the segfault, currently working on a patch. - Better CLI output, with each library having it's prefix. - LibCompiler: `drv` - LibDebugger: `dbg` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-21feat(cxxdrv): Compile directly when file extension matches.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-21feat(cxxdrv): Remove duplicate header 'Dialogs.h'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-20feat(cxxdrv): Improving and patching C++'s driver segfault at exit.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-20feat(cxxdrv): fix multi line comment keywords.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-18cxxdrv: bugfix: Fix bad refactor of 'bool*/bool' type.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14feat(cc): Rename Parser.h to CompilerFrontend.h, refactor codebaseAmlal El Mahrouss
accordingly. why: - To make its intent clearer, and avoid future confusions. also: - Ran ./format.sh to the codebase. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14dev(kdbg): Working on NeKernel Debugger.Amlal El Mahrouss
how: - Load vmkrnl.efi. - Keep track of IP, Stack, and debugging information related to the kernel. - Make use of breakpoints and provide lldb grade experience. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-12fix(cxxdrv): The Compiler driver shall take multiple files, instead of0.0.1e2Amlal El Mahrouss
one. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-11feat(cxxdrv): Begin addressing stack corruption issue causing segmentation faultAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-09dev(cxxdrv): figured out where the segfault comes from, probably the call to ↵Amlal
Compile who causes the issue. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-07feat(LibCompiler): Reworking architecture to integrate the Arch() method in ↵Amlal
the AssemblyInterface. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04feat(cxxdrv): small optimizations regarding variable and useless logging.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04bug(cxxdrv): isolating segfault on cxxdrv.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04bug(LibCompiler/C++): Segfault raised when compiling C++ source.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01ld64: Make linker more robust, and extend PEF to version 4.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-27dev: format codebase.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-26dev, cxxdrv: add sigsegv handler.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-26dev: codebase has been improved in terms of cli and consistency.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev: stabilizing source code towards an 0.0.1 release.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev, general: codebase needed refactors and tweaks, for NeKernel's 0.0.2 ↵Amlal
release. details: - things needed to be cleared off, short sighted decisions fixed. - the inconsistency of certain files have been fixed too. Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25meta: update .clang-format, format codebase.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-19dev, LibCompiler, tooling: refactor and separate components into modulesAmlal El Mahrouss
(cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-16cc, LibCompiler: source code refactor and tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-16dev, cxxdrv: bump.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-14cxxdrv: Add whitespace cleanup and initial support for class/struct parsingAmlal El Mahrouss
2025-04-12LibCompiler, C++: use 'jmp' when returning from a function.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-03cc/pef: exec format refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-31meta/repository: fix capitalization on my name 'El' instead of 'EL'.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-08ADD: Better if conditions in DynamicLinkerPEF.ccAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-04ADD: C++ compiler improvements.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-08ADD: Assembler frontend tweaks and other refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-08ADD: Patch command parse on linker, and use Boolean type in C++ compilerAmlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-07ADD: tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-04ADD: Minor tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03META: Tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03Final tweaks.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-03TWEAK: Rename TK_ to LC_Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-02-01ADD: Tweak C++ AMD64 compiler to remove \r endings, to ensure assemblerAmlal El Mahrouss
understands the assembly correctly. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-01-27ADD: `dbg` C++ debugger program.Amlal
META: Ran format command with correct C++ extensions. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
2025-01-21ADD: NeKernel Toolchain 0.0.9 (Beta Release)Amlal
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>