scott.linder added a comment.

Multiple build bots were failing with the patch applied, see e.g. 
http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64/builds/4890/steps/test-check-clang/logs/FAIL%3A%20Clang%3A%3Aclang_f_opts.c

Seems like on platforms with a backslash for a directory separator you get 
`"\\\\with\\ spaces\\\\clang"` rather than `"/with\\ spaces/clang"`, although 
I'm not completely sure that is what we want? I imagine platforms with \ as a 
separator have different escaping rules?

I reverted the commit for now; @ravi-ramaseshan is it OK if I just amend the 
test to look for `"-record-command-line" "{{.+}}with\\ spaces{{.+}}"` and we 
can worry about whether the other escaping is correct separately?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74811



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

Reply via email to