This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Change return type of GetProcessPluginName
ClosedPublic

Authored by bulbazord on Jun 26 2023, 6:00 PM.

Details

Summary

Instead of just returning a raw const char *, I think llvm::StringRef
would make more sense. Most of the time that we use the return value of
GetProcessPluginName we're passing it to CreateProcess which takes a
StringRef anyway.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 26 2023, 6:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 6:00 PM
bulbazord requested review of this revision.Jun 26 2023, 6:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 6:00 PM
This revision is now accepted and ready to land.Jun 26 2023, 10:53 PM
This revision was automatically updated to reflect the committed changes.