[all-commits] [llvm/llvm-project] 5fd03b: [Driver] Re-run lld with --reproduce when it crashes

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Aug 1 13:01:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fd03b00ee029b4cc958ae8e6c970a6123bd12f6
      https://github.com/llvm/llvm-project/commit/5fd03b00ee029b4cc958ae8e6c970a6123bd12f6
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Compilation.h
    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.cpp
    M clang/test/Driver/lit.local.cfg
    A clang/test/Driver/lld-repro.c

  Log Message:
  -----------
  [Driver] Re-run lld with --reproduce when it crashes

This was discussed on https://discourse.llvm.org/t/rfc-generating-lld-reproducers-on-crashes/58071/12

When lld crashes, or errors when -gen-reproducer=error
and -fcrash-diagnostics=all clang will re-run lld with
--reproduce=$temp_file for easily reproducing the
crash/error.

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




More information about the All-commits mailing list