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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84505
[lldb] Don't use static locals for return value storage in some *AsCString functions ClosedPublic Authored by teemperor on Jul 24 2020, 3:29 AM.
Details Summary Let's just return a std::string to make this safe. formatv seemed overkill for formatting
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 24 2020, 3:52 AM Closed by commit rGa4a0844248d4: [lldb] Don't use static locals for return value storage in some *AsCString… (authored by teemperor). · Explain WhyJul 30 2020, 3:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 281859 lldb/include/lldb/Core/Communication.h
lldb/include/lldb/Target/Thread.h
lldb/source/Core/Communication.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Target/Thread.cpp
lldb/source/Target/ThreadPlanCallFunction.cpp
lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
|