diff options
Diffstat (limited to 'dev/LibCompiler/Util/CompilerUtils.h')
| -rw-r--r-- | dev/LibCompiler/Util/CompilerUtils.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <LibCompiler/Frontend.h> #include <LibCompiler/Version.h> #include <Vendor/Dialogs.h> +#include <iostream> #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<Char> 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); |
