I'll "borrow" the implementation from the Xcode SDK.
<rdar://problem/116895693>
For clarification: By "borrow" I meant copying and modifying the code -- but keeping the licence annotation of course. Also "borrow" because it's already used is other apps like Xcode; and we're only "borrowing" because it's temporary until we can use C++23 in WebKit.
Pull request: https://github.com/WebKit/WebKit/pull/19140