This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Change setting descriptions to use StringRef instead of ConstString
ClosedPublic

Authored by bulbazord on Apr 18 2023, 6:47 PM.

Details

Summary

These probably do not need to be in the ConstString StringPool as they
don't really need any of the advantages that ConstStrings offer.
Lifetime for these things is always static and we never need to perform
comparisons for setting descriptions.

Diff Detail

Event Timeline

bulbazord created this revision.Apr 18 2023, 6:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 6:47 PM
bulbazord requested review of this revision.Apr 18 2023, 6:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 6:47 PM
This revision is now accepted and ready to land.Apr 19 2023, 9:59 AM