This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Add some comments and asserts
ClosedPublic

Authored by thakis on Apr 7 2022, 5:51 AM.

Details

Reviewers
oontvoo
int3
Group Reviewers
Restricted Project
Commits
rG2cb3d28b1735: [lld/mac] Add some comments and asserts
Summary

I was wondering if SymtabSection::emitStabs() should check
defined->includeInSymtab. Add asserts and comments explaining why that's not
necessary.

No behavior change.

Diff Detail

Event Timeline

thakis created this revision.Apr 7 2022, 5:51 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 7 2022, 5:51 AM
thakis requested review of this revision.Apr 7 2022, 5:51 AM
oontvoo accepted this revision.Apr 7 2022, 7:06 AM
oontvoo added a subscriber: oontvoo.

thanks!

This revision is now accepted and ready to land.Apr 7 2022, 7:06 AM
int3 accepted this revision.Apr 7 2022, 11:34 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2022, 12:43 PM