In the Mach-O object format, a segment can be specified in addition to the section.
The format for such declaration is "SEGMENT,SECTION" which LLVM understands. So, simply allowing commas and spaces we get support for these link section names. Spaces are not strictly required, but the underlying tooling supports it and that's what people would expect, I believe.
This is required, for example, to do symbol interposition, as it mandates placing the interposition table in the "DATA,interpose" section.
In the Mach-O object format, a segment can be specified in addition to the section.
The format for such declaration is "SEGMENT,SECTION" which LLVM understands. So, simply allowing commas and spaces we get support for these link section names. Spaces are not strictly required, but the underlying tooling supports it and that's what people would expect, I believe.
This is required, for example, to do symbol interposition, as it mandates placing the interposition table in the "DATA,interpose" section.