[all-commits] [llvm/llvm-project] cf6a4b: [lldb] Use std::make_shared where possible (NFC) (...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Jul 25 15:55:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf6a4bbc42c7e54bf6e251206134b207e757b604
https://github.com/llvm/llvm-project/commit/cf6a4bbc42c7e54bf6e251206134b207e757b604
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-07-25 (Fri, 25 Jul 2025)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBType.cpp
M lldb/source/API/SBTypeFilter.cpp
M lldb/source/API/SBTypeNameSpecifier.cpp
M lldb/source/API/SBTypeSynthetic.cpp
M lldb/source/API/SBValue.cpp
M lldb/source/Breakpoint/Breakpoint.cpp
M lldb/source/Breakpoint/BreakpointResolverName.cpp
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/TypeCategoryMap.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Host/common/FileSystem.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
M lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Target/InstrumentationRuntime.cpp
M lldb/source/Target/StackFrameRecognizer.cpp
M lldb/source/Target/ThreadPlanStepRange.cpp
M lldb/tools/debugserver/source/RNBRemote.cpp
Log Message:
-----------
[lldb] Use std::make_shared where possible (NFC) (#150714)
This is a continuation of 68fd102, which did the same thing but only for
StopInfo. Using make_shared is both safer and more efficient:
- With make_shared, the object and the control block are allocated
together, which is more efficient.
- With make_shared, the enable_shared_from_this base class is properly
linked to the control block before the constructor finishes, so
shared_from_this() will be safe to use (though still not recommended
during construction).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list