[libcxx-commits] [libcxx] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

Shilei Tian via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 30 08:31:40 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, true);
----------------
shiltian wrote:

```suggestion
    dumpDeviceMemory(OutputFilename, /*saveDiff*/true);
```

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


More information about the libcxx-commits mailing list