[lld-macho] Gate category checking behind --check-category-conflicts
authorJez Ng <jezng@fb.com>
Fri, 31 Mar 2023 17:19:48 +0000 (13:19 -0400)
committerJez Ng <jezng@fb.com>
Fri, 31 Mar 2023 17:20:23 +0000 (13:20 -0400)
commit855d3cb8e3e831a48378865575bf950deda1ecf1
tree4eac1b953b8f664fddc265c1767c2d7dbbab208e
parent3520f6d6664549f61015f3f5b3a2afd8edbf976b
[lld-macho] Gate category checking behind --check-category-conflicts

@oontvoo reports that the current implementation crashes on a bunch of
their builds. Let's leave it disabled by default for now.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D147341
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/test/MachO/objc-category-conflicts.s