aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2015-07-30 00:26:34 +0000
committerSean Silva <chisophugis@gmail.com>2015-07-30 00:26:34 +0000
commitb963dedbe87ba04fafb9433bbc345dbd1c3391ee (patch)
tree8702834c1497491371333f51f82c9bea45175475 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent5bfbb36a09fac45bd0230fceb42a58e3c1977620 (diff)
downloadllvm-b963dedbe87ba04fafb9433bbc345dbd1c3391ee.zip
llvm-b963dedbe87ba04fafb9433bbc345dbd1c3391ee.tar.gz
llvm-b963dedbe87ba04fafb9433bbc345dbd1c3391ee.tar.bz2
Avoid failure to canonicalize '..'.
Also fix completely broken and untested code which was hiding the primary bug. The !LLVM_ON_UNIX branch of the ifdef was actually a no-op. I ran into this in the wild. It was causing failures in our SDK build. Ideally we'd have a perfect llvm::sys::fs::canonical, but at least this is a step in the right direction, and fixes an obviously broken case. In some sense the test case I've added here is an integration test. We should have these routines thoroughly unit tested in llvm::sys::fs. llvm-svn: 243597
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions