From 2fbe45cd478b2e0ea7c1079e5298b0f0439f2c5b Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Thu, 26 Feb 2026 16:22:05 -0800 Subject: [PATCH] sync before scratch_end to prevent race in the result fill --- src/rdi_from_pdb/rdi_from_pdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rdi_from_pdb/rdi_from_pdb.c b/src/rdi_from_pdb/rdi_from_pdb.c index 83c6f7f5..07707dce 100644 --- a/src/rdi_from_pdb/rdi_from_pdb.c +++ b/src/rdi_from_pdb/rdi_from_pdb.c @@ -4411,6 +4411,8 @@ p2r_convert(Arena *arena, P2R_ConvertParams *params) result.procedures = *all_procedures; result.scopes = *all_scopes; result.inline_sites = *all_inline_sites; + + lane_sync(); } scratch_end(scratch);