[lld] [lld-macho] Implement ObjC category merging (-objc_category_merging) (PR #82928)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 00:22:10 PST 2024
================
@@ -114,7 +120,12 @@ class ConcatInputSection final : public InputSection {
bool isLive(uint64_t off) const override { return live; }
void markLive(uint64_t off) override { live = true; }
bool isCoalescedWeak() const { return wasCoalesced && symbols.empty(); }
- bool shouldOmitFromOutput() const { return !live || isCoalescedWeak(); }
+ bool isLinkOptimizedAway() const override {
----------------
alx32 wrote:
Will switch to using `live`.
https://github.com/llvm/llvm-project/pull/82928
More information about the llvm-commits
mailing list