]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Darwin mach_msg_host: move assign_port_name to post
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 7 Dec 2025 07:50:32 +0000 (08:50 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 7 Dec 2025 07:50:32 +0000 (08:50 +0100)
commita779c501550173dbee98a6713402fafb161e59a7
treea320da1e204768bd8fef343aee3f791445fefcae
parent55129845cd0e2a8415b945953a035265b417afaf
Darwin mach_msg_host: move assign_port_name to post

There's a GrP comment saying that assign_port_name should only be called on success.
And indeed when it is called in the PRE and it can't find the info for the port
then the code will assert.
coregrind/m_syswrap/syswrap-darwin.c