This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][test] Simplify classrefs test
ClosedPublic

Authored by int3 on Jan 4 2023, 7:53 PM.

Details

Reviewers
thakis
Group Reviewers
Restricted Project
Commits
rG4228ab009fa7: [lld-macho][test] Simplify classrefs test
Summary

I wasn't previously aware of the --objc-meta-data flag; that makes
llvm-objdump's output a lot easier to parse.

Diff Detail

Event Timeline

int3 created this revision.Jan 4 2023, 7:53 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 4 2023, 7:53 PM
int3 requested review of this revision.Jan 4 2023, 7:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 7:53 PM
thakis accepted this revision.Jan 5 2023, 9:53 AM
thakis added a subscriber: thakis.

lg

lld/test/MachO/objc-classrefs-dedup.s
8–16

nit: consider llvm-otool -o instead (does the same thing, just shorter)

This revision is now accepted and ready to land.Jan 5 2023, 9:53 AM
This revision was automatically updated to reflect the committed changes.
int3 marked an inline comment as done.Jan 5 2023, 10:30 AM