[all-commits] [llvm/llvm-project] 98b71c: [Docs] Update HowToSubmitABug

aeubanks via All-commits all-commits at lists.llvm.org
Tue Feb 2 21:20:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98b71c53517f89017c765ac73259cb136f5e4955
      https://github.com/llvm/llvm-project/commit/98b71c53517f89017c765ac73259cb136f5e4955
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M llvm/docs/HowToSubmitABug.rst

  Log Message:
  -----------
  [Docs] Update HowToSubmitABug

With the new PM imminent, bugpoint will diverge from opt, meaning it may
not reproduce a crash with the same arguments passed to opt. We need to
specify alternatives to bugpoint for reducing crashes.

I looked at the rest of the document to see if anything could be
improved. Major highlights:

* Run -Xclang -disable-llvm-passes instead of -O0 for skipping IR passes
* Mention the files that clang dumps on a crash
* Remove outdated reference to `delta` and plug `creduce` instead
* Mention llvm-reduce on top of bugpoint
* Mention --print-before-all --print-module-scope
* Mention sanitizers in addition to valgrind
* Mention opt-bisect for miscompiles

Reviewed By: fhahn, MaskRay

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




More information about the All-commits mailing list