[llvm] [llvm-config] Add new flag `--quote-paths` to optionally quote and escape paths (PR #103397)
Ambrus Tóth via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 3 23:00:33 PDT 2025
tothambrus11 wrote:
Hi, thanks for the work, looks great!
As a food for thought regarding `\`-es: my go-to practice with paths on windows was to replace all `\` characters in paths with `/`. It's so much less hassle, and it works perfectly with all tools I've tried. Unfortunately, not all external tools may take this into account, but regular Windows functionality should work. So probably escaping is the more robust choice in general. https://retrocomputing.stackexchange.com/a/28348
For us at Hylo, it works great, see my script for generating a pkg-config file for LLVM: https://github.com/hylo-lang/get-llvm/blob/main/src/get-llvm.ts#L305
https://github.com/llvm/llvm-project/pull/103397
More information about the llvm-commits
mailing list