Details:
I've been getting a few weird errors similar to the following from our internal tests:
ld64.lld.darwinnew: error: Cannot merge section __eh_frame (type=0x0) into __eh_frame (type=0xB): inconsistent types ld64.lld.darwinnew: error: Cannot merge section __eh_frame (flags=0x0) into __eh_frame (flags=0x6800000B): strict flags differ ld64.lld.darwinnew: error: Cannot merge section __eh_frame (type=0x0) into __eh_frame (type=0xB): inconsistent types ld64.lld.darwinnew: error: Cannot merge section __eh_frame (flags=0x0) into __eh_frame (flags=0x6800000B): strict flags differ
all these seem relevant only if we are re-emitting object files, which we probably won't bother with for a while. In particular, I think S_ATTR_NO_DEAD_STRIP is only relevant as input to the linker, and ___compact_unwind gets converted to __unwind info as part of the usual link process. IMO we can just leave a FIXME comment for now for whomever wants to add object file support