Describe the bug
Bootstrap is failing on main branch with this change #61476 to unblock rebranch build.
Steps To Reproduce
https://ci.swift.org/job/swift-PR-Linux/4611/console
1. Swift version 5.8-dev (LLVM f42c6e5b39c93c9, Swift 2e5cd8a214b7188)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/home/build-user/build/buildbot_linux/swift-linux-x86_64/bootstrapping1/bin/swiftc[0x6995c43]
/home/build-user/build/buildbot_linux/swift-linux-x86_64/bootstrapping1/bin/swiftc[0x699397e]
/home/build-user/build/buildbot_linux/swift-linux-x86_64/bootstrapping1/bin/swiftc[0x6995fcf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f046f158420]
[1253/1498][ 83%][670.877s] Generating /home/build-user/build/buildbot_linux/swift-linux-x86_64/bootstrapping1/lib/swift/linux/Swift.swiftmodule/x86_64-unknown-linux-gnu.swiftmodule
FAILED: bootstrapping1/lib/swift/linux/Swift.swiftmodule/x86_64-unknown-linux-gnu.swiftmodule
bootstrapping1/lib/swift/linux/Swift.swiftmodule/x86_64-unknown-linux-gnu.swiftdoc bootstrapping1/lib/swift/linux/Swift.swiftmodule/x86_64-unknown-linux-gnu.swiftinterface
consoleText-2.txt