I removed them in rG5de7467e982 but @thakis pointed out that
they were useful to keep, so here they are again. I've also converted
the !isCoalescedWeak() asserts into !shouldOmitFromOutput() asserts,
since the latter check subsumes the former.
Details
Details
- Reviewers
thakis gkm - Group Reviewers
Restricted Project - Commits
- rGb8bbb9723af3: [lld-macho][nfc] Put back shouldOmitFromOutput() asserts
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/MachO/MapFile.cpp | ||
---|---|---|
69 | (this used to check coalescedWeak() because it's in a !isLive() check and then shouldOmit is just isCoalesced, but this is fine as-is too) | |
lld/MachO/UnwindInfoSection.cpp | ||
177 | Hm, is this correct? See the FIXME at the start of the loop. It's correct to assert that this isn't a coalesced weak, but it might be a non-live symbol I think. (But not sure.) |
lld/MachO/UnwindInfoSection.cpp | ||
---|---|---|
177 | good point -- I've switched it back to use isCoalescedWeak(). |
(this used to check coalescedWeak() because it's in a !isLive() check and then shouldOmit is just isCoalesced, but this is fine as-is too)