summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src/CCompilerPower64.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-22 08:25:35 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-22 08:26:57 +0200
commit96ea259e3e3a3b1be7d0e3b589063340fc48cd2e (patch)
treeeee3788889ee7c9f7e5d538604920acef05a8bba /dev/LibCompiler/src/CCompilerPower64.cc
parent385178a1ecb41a7a529d219d80e2ed1232831abd (diff)
feat(LibCompiler): Update AssemblyInterface's Arch method.
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>
Diffstat (limited to 'dev/LibCompiler/src/CCompilerPower64.cc')
-rw-r--r--dev/LibCompiler/src/CCompilerPower64.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/LibCompiler/src/CCompilerPower64.cc b/dev/LibCompiler/src/CCompilerPower64.cc
index e5b25a5..aa49768 100644
--- a/dev/LibCompiler/src/CCompilerPower64.cc
+++ b/dev/LibCompiler/src/CCompilerPower64.cc
@@ -1069,9 +1069,7 @@ class AssemblyMountpointCLang final ASSEMBLY_INTERFACE {
LIBCOMPILER_COPY_DEFAULT(AssemblyMountpointCLang);
- [[maybe_unused]] Int32 Arch() noexcept override {
- return LibCompiler::AssemblyFactory::kArchPowerPC;
- }
+ UInt32 Arch() noexcept override { return LibCompiler::AssemblyFactory::kArchPowerPC; }
Int32 CompileToFormat(std::string src, Int32 arch) override {
if (kCompilerFrontend == nullptr) return 1;