[all-commits] [llvm/llvm-project] b26d9e: [Reproducer] Instruct users to replay reproducer

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Nov 21 13:38:54 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b26d9e417d2d4dbb47f6e967926dbb31f6d7a4b4
      https://github.com/llvm/llvm-project/commit/b26d9e417d2d4dbb47f6e967926dbb31f6d7a4b4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M lldb/tools/driver/Driver.cpp

  Log Message:
  -----------
  [Reproducer] Instruct users to replay reproducer

Improve the message printed when LLDB crashes by asking the user to
replay the reproducer before attaching it to a bugreport..

********************
Crash reproducer for lldb version 10.0.0 (git at github.com:llvm/llvm-project.git revision ...)
  clang revision ...
  llvm revision ...

Reproducer written to '/path/to/reproducer'

Before attaching the reproducer to a bug report:
 - Look at the directory to ensure you're willing to share its content.
 - Make sure the reproducer works by replaying the reproducer.

Replay the reproducer with the following command:
./bin/lldb -replay /path/to/reproducer
********************


  Commit: bb090bb1cad28cef1ad74c8ca986f3f5643eb6d9
      https://github.com/llvm/llvm-project/commit/bb090bb1cad28cef1ad74c8ca986f3f5643eb6d9
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M lldb/source/Commands/CommandObjectReproducer.cpp

  Log Message:
  -----------
  [Reproducer] Make 'reproducer xcrash' behave the same during capture & replay

There's no point in preventing this command from running during replay.
We should simulate the same crash as during capture.


  Commit: 6c2e4e88010827034250fcec0840c84dca4cc354
      https://github.com/llvm/llvm-project/commit/6c2e4e88010827034250fcec0840c84dca4cc354
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M lldb/tools/driver/Driver.cpp

  Log Message:
  -----------
  [Driver] Fix newline at the end of help output

Print a regular newline at the end of the help output. The current
string literal seems to throw off shells.


Compare: https://github.com/llvm/llvm-project/compare/44fe1f024d54...6c2e4e880108


More information about the All-commits mailing list