Skip to content

Commit

Permalink
Merge pull request #18 from hez2010/patch-6
Browse files Browse the repository at this point in the history
Copy checked jit to NativeAOT compiler
  • Loading branch information
partouf authored Aug 23, 2024
2 parents f550a3d + f5809fb commit 72d3ff1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/DisassemblyLoader/MonoJitInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static unsafe void WriteDisassembly(MethodBase method, byte* code, int si
ulong tail = (ulong)(code + size);
var methodName = FormatMethodName(method);

WriteComment(writer, $"Assembly listing for method {methodName}:");
WriteComment(writer, $"Assembly listing for method {methodName}");

while (decoder.IP < tail)
{
Expand Down
2 changes: 1 addition & 1 deletion build/DisassemblyLoader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static void PrepareMethod(MethodBase methodBase)
}
catch (Exception ex)
{
Console.WriteLine($"; Failed to generate code for '{methodBase}':");
Console.WriteLine($"; Failed to generate code for method {methodBase}");
foreach (var line in ex.ToString().AsSpan().EnumerateLines())
{
Console.WriteLine($"; {line}");
Expand Down
3 changes: 3 additions & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ echo "${VERSION_WITHOUT_V}+${commit}" > "${CORE_ROOT}"/version.txt
# Copy Checked JITs to CORE_ROOT
cp artifacts/bin/coreclr/"${OS}".x64.Checked/libclrjit*.so "${CORE_ROOT}"
cp artifacts/bin/coreclr/"${OS}".x64.Checked/libclrjit*.so "${CORE_ROOT}"/crossgen2
if [ -d "${CORE_ROOT}"/ilc-published ]; then
cp artifacts/bin/coreclr/"${OS}".x64.Checked/libclrjit*.so "${CORE_ROOT}"/ilc-published
fi

# Copy mono to CORE_ROOT_MONO
mkdir -p "${CORE_ROOT_MONO}"
Expand Down

0 comments on commit 72d3ff1

Please sign in to comment.