[PATCH] D62493: [Driver] Always use Unix-style paths in the Darwin driver

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 11:37:45 PDT 2019


rnk added a comment.

So, there's nothing wrong, functionally speaking, with what we do today, right? It's just inconvenient to test.

The difficulty of testing the driver has been a long standing problem. I think we might want to instead invent some new kind of alternative to `-###` for writing driver tests that is more FileCheck friendly. For example, we could print flags one-per line, without quoting. I think it would also be reasonable to do some dumb string post-processing to rewrite Windows-style paths to Unix style paths so they always look the same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62493





More information about the cfe-commits mailing list