[Lldb-commits] [flang] [compiler-rt] [clang] [lldb] [llvm] [openmp] [libcxx] [clang-tools-extra] [OpenMP] Add memory diff dump for kernel record-replay (PR #70667)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 31 15:36:14 PDT 2023


================
@@ -274,7 +317,7 @@ struct RecordReplayTy {
   void saveKernelOutputInfo(const char *Name) {
     SmallString<128> OutputFilename = {
         Name, (isRecording() ? ".original.output" : ".replay.output")};
-    dumpDeviceMemory(OutputFilename);
+    dumpDeviceMemory(OutputFilename, /*saveDiff*/ true);
----------------
nmustakin wrote:

saveDiff isn't always true. For pre-record memory dump, saveDiff is false (on line 302)

https://github.com/llvm/llvm-project/pull/70667


More information about the lldb-commits mailing list