This is an archive of the discontinued LLVM Phabricator instance.

[llvm-nm] - Simplify the code in dumpSymbolNamesFromObject. NFC.
ClosedPublic

Authored by grimar on Jan 14 2021, 3:51 AM.

Details

Summary

It is possible to simplify the logic that extracts symbol names.

Depends on D94667.
It made the NMSymbol::Name to be std::string, what allowed this simplification.

Diff Detail

Event Timeline

grimar created this revision.Jan 14 2021, 3:51 AM
grimar requested review of this revision.Jan 14 2021, 3:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2021, 3:52 AM
This revision is now accepted and ready to land.Jan 14 2021, 4:28 AM