This is an archive of the discontinued LLVM Phabricator instance.

[dwarfdump] Make -arch accept alternative spellings
AbandonedPublic

Authored by kastiglione on Apr 3 2019, 11:30 PM.

Details

Reviewers
aprantl
keith
Summary

llvm-dwarfdump does not accept -arch values for commonly known arch names like
arm64 or i686. All llvm and clang tools I've used allow for these arch names,
this change makes llvm-dwarfdump consistent with other tools.

Event Timeline

kastiglione created this revision.Apr 3 2019, 11:30 PM

Remove unintended changes.

If you don't mind, I mildly prefer my patch in https://reviews.llvm.org/D60240 because it also adds a test for the MachO CPU type number case.

kastiglione abandoned this revision.Apr 4 2019, 8:53 AM