From f5a153c3f888f82edaf5038e5762f9bd70356db4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 8 Jan 2025 10:28:10 +0100 Subject: KAN-8: Compiler tweaks and AARCH64 in progress. - Refactor C compilers. - Add Encoder for ARM64. - Add and working on assembler for AARCH64. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc') diff --git a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc index 906ba4e..90db68b 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc @@ -74,7 +74,7 @@ namespace Details explicit bpp_pragma() = default; ~bpp_pragma() = default; - TOOLCHAINKIT_COPY_DEFAULT(bpp_pragma); + LIBCOMPILER_COPY_DEFAULT(bpp_pragma); std::string fMacroName; bpp_parser_fn_t fParse; @@ -908,7 +908,7 @@ void bpp_parse_file(std::ifstream& hdr_file, std::ofstream& pp_out) ///////////////////////////////////////////////////////////////////////////////////////// -TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain) +LIBCOMPILER_MODULE(CPlusPlusPreprocessorMain) { try { @@ -931,7 +931,7 @@ TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain) Details::bpp_macro macro_zka; - macro_zka.fName = "__TOOLCHAINKIT__"; + macro_zka.fName = "__LIBCOMPILER__"; macro_zka.fValue = "1"; kMacros.push_back(macro_zka); @@ -1044,7 +1044,7 @@ TOOLCHAINKIT_MODULE(CPlusPlusPreprocessorMain) } if (kFiles.empty()) - return TOOLCHAINKIT_EXEC_ERROR; + return LIBCOMPILER_EXEC_ERROR; for (auto& file : kFiles) { -- cgit v1.2.3