Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes hit while running the Delphi 11 command-line compilers (
dcc32.exe,dcc64.exe,dcclinux64.exe, and theld-linux.exethatdcclinux64spawns) under wibo.ImageBasein the mapped copy. Windows maps the headers there, and mingw's pseudo-reloc code walks its own section table from that copy.CreateFileMappingwithINVALID_HANDLE_VALUE: back the section with a memfd (shm_openon other hosts) so that two views of one section alias. WithMAP_ANONYMOUS, each view got its own pages.clone(CLONE_PIDFD)withEINVAL, which brokeCreateProcesswhen running amd64 wibo under emulation (Docker on arm64 hosts). Fall back toforkpluspidfd_open.gen_trampolines.py, x86 fastcall: a 64-bit scalar argument now goes on the stack without pushing the 32-bit arguments after it off their registers. Only an aggregate argument stops register use.gen_trampolines.py, 64-bit host thunks: copy a 64-bit integer result fromraxintoedx:eax, where the guest reads it.FindResourceA/Wdebug logging: printMAKEINTRESOURCEids as#n. Logging them with%scrashed under-D.New fixture:
test_two_views_of_pagefile_mapping_aliasintest/test_createfilemapping.c.Testing:
test_namedpipe, see below.test_createfilemapping, including the new case, passes under Wine 9.0 and on Windows (GitHubwindows-latest).test_namedpipefails in the Ubuntu 32-bit CI jobs on currentmainas well (test_namedpipe.c:64, seen in a fork CI run of d394386), so that failure is not from this PR.🤖 Generated with Claude Code