The crash in ConvertUTFWrapper.cpp
(see also this thread) was fixed in llvm/llvm-project
here and cherry-picked to swiftlang/llvm-project
here.
I verified and confirmed the fix with TheBrowserCompany's 20250409.2 toolchain build, so any newer build would have that problem fixed, if you can use those toolchain builds.