Disably comdat support in the same way we do the Mach-O. This
also causes clang not to generated comdats.
The hope is that we can support C++ without full comdat
support in the same that Mach-O is able to do this.
Differential D39873
[WebAssembly] Explicily disable comdat support for wasm output sbc100 on Nov 9 2017, 3:24 PM. Authored by
Details Disably comdat support in the same way we do the Mach-O. This The hope is that we can support C++ without full comdat
Diff Detail
Event TimelineComment Actions I'm fine with making this explicit for now. I'm not sure I'd yet go so far as to say that the goal is not to support comdats. We should definitely investigate how C++ and its debug info are supported in mach-o, but it may be that comdats are better than whatever they do. In general in the absence of good reasons (e.g. our 2-level namespace) I'd probably have a slight bias toward doing things the ELF way rather than the macho way; most people I've talked to who've worked a lot with macho don't speak too highly of it :) Comment Actions If this is a temporary workaround, it's fine though we should add comments saying that. If this is meant as a permanent change, I don't currently know enough about MachO to know what to think about it. |