[PATCH] D120175: [Driver] Re-run lld with --reproduce when it crashes

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 10:21:41 PDT 2022


thakis added a comment.

I noticed that when using `-fcrash-diagnostics=all` and the linker crashes, clang creates both preprocessor and linker repros:

  clang: note: diagnostic msg: /var/folders/w6/wpbtszrs7jl9dc9l5qtdkvg00000gn/T/main-241332.c
  clang: note: diagnostic msg: /var/folders/w6/wpbtszrs7jl9dc9l5qtdkvg00000gn/T/linker-crash-945b07.tar
  clang: note: diagnostic msg: /var/folders/w6/wpbtszrs7jl9dc9l5qtdkvg00000gn/T/main-241332.sh

Is that intentional? I would've expected to only get the linker repro when the linker crashes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120175/new/

https://reviews.llvm.org/D120175



More information about the cfe-commits mailing list