HomePhabricator

Fix llvm-reduce tests so that they don't assume the source code is writable.

Authored by timshen on Sep 12 2019, 2:03 PM.

Description

Fix llvm-reduce tests so that they don't assume the source code is writable.

Instead of copying over the original file permissions, just create
a new file and add the executable bit.

llvm-svn: 371772

Details

Committed
timshenSep 12 2019, 2:03 PM
Parents
rG344c398e2a0b: [SelectionDAGBuilder] Simplify loop in visitSelect back to how it was beforeā€¦
Branches
Unknown
Tags
Unknown