[PATCH] D122766: [clang] Use forward slash as the path separator for Windows in __FILE__, __builtin_FILE(), and std::source_location
Duncan P. N. Exon Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 16:33:55 PDT 2022
dexonsmith added a comment.
In D122766#3450348 <https://reviews.llvm.org/D122766#3450348>, @dexonsmith wrote:
> - Only canonicalize `__FILE__` for the target platform when there's a command-line flag that suggests it's okay. I suggest adding `-ffile-reproducible`, which could be implied by `-ffile-prefix-map` but also specified separately when `-ffile-prefix-map` isn't being used.
(Could also be implied by `-ffile-compilation-dir=`)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122766/new/
https://reviews.llvm.org/D122766
More information about the llvm-commits
mailing list