[PATCH] D112787: [Support] Allow configuring the preferred type of slashes on Windows

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 05:16:35 PDT 2021


mstorsjo added a reviewer: aaron.ballman.
mstorsjo added a comment.

This is the last step needed to actually take the forward slash form of paths into use. There's still a number of test failures if built in that mode (I'll send more patches to try to remedy that afterwards).

@rnk 's desire was to be able to change it at runtime - I'm not currently planning on taking this feature that far, but this is at least one step along the way to that goal (even with runtime options, one can want to configure the default). If changing the preference at runtime, one has to redo parts of what D111880 <https://reviews.llvm.org/D111880> does (running `make_preferred()` on a number of paths) after setting the new preference (e.g. when `Argv[0]` has been set early, based on the built-in preferred format, one would have to update that and all other paths derived from it).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112787



More information about the llvm-commits mailing list