diff options
author | Sean Silva <chisophugis@gmail.com> | 2016-03-28 21:32:46 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2016-03-28 21:32:46 +0000 |
commit | c2feac75fd3f3ef3f64465e498848699ff43286f (patch) | |
tree | ac072115418b5e82c3d38fdee90fddb2f84c1a4a /llvm/lib/Transforms/Utils/CloneModule.cpp | |
parent | 8a3e39ab67222f6f2c1e6954c6536ad53414ab27 (diff) | |
download | llvm-c2feac75fd3f3ef3f64465e498848699ff43286f.zip llvm-c2feac75fd3f3ef3f64465e498848699ff43286f.tar.gz llvm-c2feac75fd3f3ef3f64465e498848699ff43286f.tar.bz2 |
[libprofile] Handle '\\' in __llvm_profile_recursive_mkdir
This is implicitly needed at least by gcc-flag-compatibility.test
The thing that needs it is the `\` preceding the "default.profraw"
appended internally by clang when doing `-fprofile-use=`.
Clang uses `\` because is uses sys::path::append which will use `\` on a
Windows host. This is wrong, but I don't think there's an easy way to
solve it (maybe just always using `/` since places that accept `\` also
tend to accept `/`, but not the other way around).
llvm-svn: 264665
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions