aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SplitModule.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-11-04 16:59:07 +0200
committerMartin Storsjö <martin@martin.st>2021-01-29 13:37:54 +0200
commit2ff8662b5d16129ec6d1ee60dcec4f6ff8f717e2 (patch)
treeebcbfe45c56ac5343f94a064becaafc88b70cc65 /llvm/lib/Transforms/Utils/SplitModule.cpp
parent305ac81e1d4bbd037587190175e4d0b5631300e1 (diff)
downloadllvm-2ff8662b5d16129ec6d1ee60dcec4f6ff8f717e2.zip
llvm-2ff8662b5d16129ec6d1ee60dcec4f6ff8f717e2.tar.gz
llvm-2ff8662b5d16129ec6d1ee60dcec4f6ff8f717e2.tar.bz2
[libcxx] Implement the stat function family on top of native windows APIs
While the windows CRTs (the modern UCRT, and the legacy msvcrt.dll that mingw still often defaults to) do provide stat functions, they're a bit lacking - they only provide second precision on the modification time, lack support for symlinks and a few other details. Instead reimplement them using a couple windows native functions, getting exactly the info we need. (Technically, the implementation within the CRT calls these functions anyway.) If we only need a few fields, we could also do with fewer calls, as a later optimization. Differential Revision: https://reviews.llvm.org/D91141
Diffstat (limited to 'llvm/lib/Transforms/Utils/SplitModule.cpp')
0 files changed, 0 insertions, 0 deletions