[all-commits] [llvm/llvm-project] 3da7dc: [lldb/Reproducers] Serialize empty string for char...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Feb 5 21:55:46 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3da7dcf38a96b7ba8ba0cb61be40210ace3fd91f
https://github.com/llvm/llvm-project/commit/3da7dcf38a96b7ba8ba0cb61be40210ace3fd91f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M lldb/source/API/SBFileSpec.cpp
M lldb/source/API/SBProcess.cpp
M lldb/source/API/SBStructuredData.cpp
M lldb/source/API/SBThread.cpp
Log Message:
-----------
[lldb/Reproducers] Serialize empty string for char* methods.
For the methods taking a char* and a length that have a custom replayer,
ignore the incoming string in the instrumentation macro. This prevents
potentially reading garbage and blowing up the SB API log.
More information about the All-commits
mailing list