This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Remove use of ConstString from OptionValueProperties
ClosedPublic

Authored by bulbazord on Jun 5 2023, 4:54 PM.

Details

Summary

In the interest of keeping the ConstString StringPool small, this patch
aims to remove the use of ConstString from OptionValueProperties.

We can maintain quick lookups by using an llvm::StringMap to find the
correct index by name.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 5 2023, 4:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2023, 4:54 PM
bulbazord requested review of this revision.Jun 5 2023, 4:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2023, 4:54 PM
fdeazeve accepted this revision.Jun 8 2023, 3:26 AM

LGTM!

This revision is now accepted and ready to land.Jun 8 2023, 3:26 AM