[Lldb-commits] [PATCH] D55582: [Reproducers] Add command reproducer

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 12 15:14:49 PST 2018


JDevlieghere updated this revision to Diff 177950.
JDevlieghere added a comment.

When sourcing a file we should also ignore the individual commands otherwise they end up getting executed twice, once as part of the `command source` and once for every individual command in the file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55582/new/

https://reviews.llvm.org/D55582

Files:
  include/lldb/Core/Debugger.h
  include/lldb/Interpreter/CommandInterpreter.h
  lit/Reproducer/Inputs/CommandCapture.in
  lit/Reproducer/TestCommandRepro.test
  source/API/SBDebugger.cpp
  source/Commands/CommandObjectCommands.cpp
  source/Commands/CommandObjectReproducer.cpp
  source/Core/Debugger.cpp
  source/Interpreter/CommandInterpreter.cpp
  tools/driver/Driver.cpp
  tools/driver/Driver.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55582.177950.patch
Type: text/x-patch
Size: 16448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181212/ca5a38ed/attachment-0001.bin>


More information about the lldb-commits mailing list