rnk added a comment.

An extremely convenient feature of the current escaping pattern is that it 
magically works for both the cmd shell and various bash implementations. You 
can simply copy paste the commands and run them. This matters, for example, for 
the .sh crash reproducer script. On Windows today, you can just run it with 
bash, and it works. So, I'd prefer it if we didn't do this.

If you want -### output to be more FileCheck friendly, then I would recommend 
adding a new driver flag for testing that dumps the commands without doing any 
escaping. This came up before:
https://reviews.llvm.org/D62493


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64538



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

Reply via email to