[all-commits] [llvm/llvm-project] 94038c: [lldb] Fix 'memory write' to not allow specifying ...

ramana-nvr via All-commits all-commits at lists.llvm.org
Fri Nov 26 02:20:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94038c570fbc991c03fe68793c576314c231d4ee
      https://github.com/llvm/llvm-project/commit/94038c570fbc991c03fe68793c576314c231d4ee
  Author: Venkata Ramanaiah Nalamothu <ramana.venkat83 at gmail.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    A lldb/test/API/commands/memory/write/Makefile
    A lldb/test/API/commands/memory/write/TestMemoryWrite.py
    A lldb/test/API/commands/memory/write/file.txt
    A lldb/test/API/commands/memory/write/main.c

  Log Message:
  -----------
  [lldb] Fix 'memory write' to not allow specifying values when writing file contents

Currently the 'memory write' command allows specifying the values when
writing the file contents to memory but the values are actually ignored. This
patch fixes that by erroring out when values are specified in such cases.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D114544




More information about the All-commits mailing list