[Lldb-commits] [PATCH] D99890: [lldb] Fix bug where memory read --outfile is not truncating the file

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 5 10:16:30 PDT 2021


JDevlieghere created this revision.
JDevlieghere added a reviewer: teemperor.
JDevlieghere requested review of this revision.

The `memory read --outfile` command should truncate the output when unless `--append-outfile`. Fix the bug and add a test.

rdar://76062318


https://reviews.llvm.org/D99890

Files:
  lldb/source/Commands/CommandObjectMemory.cpp
  lldb/test/API/functionalities/memory/read/TestMemoryRead.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99890.335287.patch
Type: text/x-patch
Size: 4995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210405/4409c067/attachment.bin>


More information about the lldb-commits mailing list