abrachet added a comment.

In D120175#3902789 <https://reviews.llvm.org/D120175#3902789>, @thakis wrote:

> 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.

I didn't really make a conscious decision one way or the other. I guess 
reproing all jobs leading to a crash somewhat makes sense, though it also 
doesn't seem that helpful to get the preprocessed source file. I'll send out a 
patch to fix this


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120175

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to