From 0273a8b8dfe8795f4976055cd27f42d36dbba518 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 19 Jun 2024 18:24:06 -0400 Subject: [PATCH] xo-jit: cosmetic: code layout --- include/xo/jit/Jit.hpp | 7 ++++--- src/jit/Jit.cpp | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 src/jit/Jit.cpp diff --git a/include/xo/jit/Jit.hpp b/include/xo/jit/Jit.hpp index 435a4bc6..5af092d0 100644 --- a/include/xo/jit/Jit.hpp +++ b/include/xo/jit/Jit.hpp @@ -72,9 +72,10 @@ namespace xo { std::make_unique(std::move(jtmb))), dest_dynamic_lib_(this->xsession_->createBareJITDylib("
")) { - dest_dynamic_lib_.addGenerator( - cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess( - data_layout_.getGlobalPrefix()))); + dest_dynamic_lib_.addGenerator + (cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess + (data_layout_.getGlobalPrefix()))); + if (jtmb.getTargetTriple().isOSBinFormatCOFF()) { object_layer_.setOverrideObjectFlagsWithResponsibilityFlags(true); object_layer_.setAutoClaimResponsibilityForObjectSymbols(true); diff --git a/src/jit/Jit.cpp b/src/jit/Jit.cpp new file mode 100644 index 00000000..8f915406 --- /dev/null +++ b/src/jit/Jit.cpp @@ -0,0 +1,10 @@ +/* @file Jit.cpp */ + +#include "Jit.hpp" + +namespace xo { + namespace jit { + } /*namespace jit*/ +} /*namespace xo*/ + +/* end Jit.cpp */