This is an archive of the discontinued LLVM Phabricator instance.

[llvm-otool] Make `llvm-otool -l` output compatible with otool for LC_BUILD_VERSION
ClosedPublic

Authored by thakis on May 4 2022, 6:11 AM.

Details

Summary

Namely, only "symbolize" platform and tool names if -v is passed.

(llvm-otool -lv output still isn't quite the same as otool -lv output, but
-v output is arguably for consumption by humans, so I'm not changing that
at this point. Someone else could change it if it was important to them.)

Diff Detail

Event Timeline

thakis created this revision.May 4 2022, 6:11 AM
Herald added a reviewer: MaskRay. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: rupprecht. · View Herald Transcript
thakis requested review of this revision.May 4 2022, 6:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2022, 6:11 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
int3 accepted this revision.May 4 2022, 12:09 PM
int3 added a subscriber: int3.

lgtm. Btw check your discord :p

This revision is now accepted and ready to land.May 4 2022, 12:09 PM
This revision was landed with ongoing or failed builds.May 4 2022, 4:19 PM
This revision was automatically updated to reflect the committed changes.