summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-06-18 18:50:35 +0000
committerNico Weber <nicolasweber@gmx.de>2018-06-18 18:50:35 +0000
commitef524f97f441b5585c2aebd7cb158fab06604268 (patch)
treeaca56f0140377b6ca226e5a278153684ae5d8ac8 /llvm/lib/CodeGen/MachineFunction.cpp
parent17bd84c12c8a773841513865033538103973baec (diff)
downloadbcm5719-llvm-ef524f97f441b5585c2aebd7cb158fab06604268.tar.gz
bcm5719-llvm-ef524f97f441b5585c2aebd7cb158fab06604268.zip
Don't let test/Driver/no-canonical-prefixes.c form a symlink cycle the second time it runs.
The test makes %t.fake a symlink to %t.real by running `ln -sf %t.real %t.fake`. If %t.fake already is a symlink to %t.real when this runs (e.g. if the test has run before), then this effectively becomes `ln -sf %t.real %t.real`, symlinking the directory to itself. At least on my mac, this leads to the directory containing itself. As fix, just remove %t.fake before creating the symlink. To clean up build dirs on bots, also remove %t.real for a while. https://reviews.llvm.org/D48224 llvm-svn: 334972
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud