From 8dbb92e920c662fa2fe22693677d90498f2d85d9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 17 Jul 2025 08:03:10 +0100 Subject: fix: LibCompiler frontend has been reworked to work on clang. Renamed 'Linkers' irectory to 'Linker' Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/Util/CompilerUtils.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dev/LibCompiler/Util') diff --git a/dev/LibCompiler/Util/CompilerUtils.h b/dev/LibCompiler/Util/CompilerUtils.h index 19e247d..172907a 100644 --- a/dev/LibCompiler/Util/CompilerUtils.h +++ b/dev/LibCompiler/Util/CompilerUtils.h @@ -11,6 +11,7 @@ #include #include #include +#include #define kZero64Section ".zero64" #define kCode64Section ".code64" @@ -34,6 +35,12 @@ inline static bool kVerbose = false; inline static bool kOutputAsBinary = false; namespace Detail { +/// @brief Linker specific blob metadata structure +struct DynamicLinkerBlob final { + std::vector mBlob{}; // PEF code/bss/data blob. + UIntPtr mOffset{0UL}; // the offset of the PEF container header... +}; + inline void print_error(std::string reason, std::string file) noexcept { if (reason[0] == '\n') reason.erase(0, 1); -- cgit v1.2.3