[all-commits] [llvm/llvm-project] 78ed64: [Driver] Don't preprocess source files when reprod...

Alex Brachet via All-commits all-commits at lists.llvm.org
Wed Nov 2 17:13:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78ed64d89fd6ea348a963516a2e49028e4079f65
      https://github.com/llvm/llvm-project/commit/78ed64d89fd6ea348a963516a2e49028e4079f65
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/lld-repro.c

  Log Message:
  -----------
  [Driver] Don't preprocess source files when reproducing linker crashes

It's not necessary to redo the source file preprocessing for reproducing linker
crashes because we must have successfully created the object file by this point.
Skip this step, and also don't report the preprocessed source file or create
the clang invocation shell script. The latter is no longer sensible without the
preprocessed source, or helpful given the linker reproducer will have it's own
shell script.

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




More information about the All-commits mailing list