[Lldb-commits] [PATCH] D149300: [lldb] Change return type of FileSpec::GetFileNameExtension
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 26 15:04:21 PDT 2023
bulbazord created this revision.
bulbazord added reviewers: JDevlieghere, mib, jingham, jasonmolenda.
Herald added a subscriber: emaste.
Herald added a project: All.
bulbazord requested review of this revision.
Herald added subscribers: lldb-commits, MaskRay.
Herald added a project: LLDB.
These don't really need to be in ConstStrings. It's nice that comparing
ConstStrings is fast (just a pointer comparison) but the cost of
creating the ConstString usually already includes the cost of doing a
StringRef comparison anyway, so this is just extra work and extra memory
consumption for basically no benefit.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149300
Files:
lldb/include/lldb/Utility/FileSpec.h
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Utility/FileSpec.cpp
lldb/unittests/Utility/FileSpecTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149300.517343.patch
Type: text/x-patch
Size: 9152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230426/687b4586/attachment.bin>
More information about the lldb-commits
mailing list