llvm-ar: Let opening a directory failed in llvm-ar.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 8 Nov 2013 12:35:56 +0000 (12:35 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 8 Nov 2013 12:35:56 +0000 (12:35 +0000)
commit6af8781854a15eadb9df6b45f27fa5cceda5eb16
tree234c7a0cf19a4e30c2d35d149cdca38f6fff99be
parentde712386cdde314ee18ea44b733d48a30d63de10
llvm-ar: Let opening a directory failed in llvm-ar.

Linux cannot open directories with open(2), although cygwin and *bsd can.

Motivation: The test, Object/directory.ll, had been failing with --target=cygwin on Linux. XFAIL was improper for host issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194257 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/directory.ll
tools/llvm-ar/llvm-ar.cpp