[all-commits] [llvm/llvm-project] a4a084: [lldb] Don't use static locals for return value st...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Thu Jul 30 03:18:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a4a0844248d4a68a866b9c4e18ae89fa49a83ec0
https://github.com/llvm/llvm-project/commit/a4a0844248d4a68a866b9c4e18ae89fa49a83ec0
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-07-30 (Thu, 30 Jul 2020)
Changed paths:
M lldb/include/lldb/Core/Communication.h
M lldb/include/lldb/Target/Thread.h
M lldb/source/Core/Communication.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Target/Thread.cpp
M lldb/source/Target/ThreadPlanCallFunction.cpp
M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
Log Message:
-----------
[lldb] Don't use static locals for return value storage in some *AsCString functions
Let's just return a std::string to make this safe. formatv seemed overkill for formatting
the return values as they all just append an integer value to a constant string.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D84505
More information about the All-commits
mailing list