[all-commits] [llvm/llvm-project] 7d76d6: [Clang] Extend -gen-reproducer flag

Alex Brachet via All-commits all-commits at lists.llvm.org
Tue May 31 10:11:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d76d6095880f34914d85d876b260cc4a4ea640d
      https://github.com/llvm/llvm-project/commit/7d76d6095880f34914d85d876b260cc4a4ea640d
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/crash-report-crashfile.m
    A clang/test/Driver/emit-reproducer.c
    M clang/tools/driver/driver.cpp

  Log Message:
  -----------
  [Clang] Extend -gen-reproducer flag

`-gen-reproducer` causes crash reproduction to be emitted
even when clang didn't crash, and now can optionally take an
argument of never, on-crash (default), on-error and always.

Differential revision: https://reviews.llvm.org/D120201




More information about the All-commits mailing list