Rafael Espindola
e20437df35
Add missing include found by the bots.
...
llvm-svn: 184354
2013-06-19 21:20:41 +00:00
Rafael Espindola
fca038907d
Remove last use of PathV1.h from Archive.h
...
Store the individual fields we need instead of a sys::FileStatus.
llvm-svn: 184353
2013-06-19 21:13:59 +00:00
Rafael Espindola
a88c119ba3
Always set the mode.
...
This matches GNU ar behavior. Also remove the now unused getFileStatus method.
Not sure how to add a test, it would have to run ls -l or something like that.
llvm-svn: 184337
2013-06-19 19:17:15 +00:00
Rafael Espindola
351a88f697
Remove more uses of sys::Path.
...
llvm-svn: 184328
2013-06-19 17:49:07 +00:00
Rafael Espindola
374f0e2a1f
Remove unused function.
...
llvm-svn: 184320
2013-06-19 16:47:34 +00:00
Rafael Espindola
8417a7883b
Reduce sys::Path usage in llvm-ar.
...
llvm-svn: 184315
2013-06-19 15:45:37 +00:00
Rafael Espindola
ac5c1b0d68
Move lib/Archive to tools/llvm-ar.
...
llvm-ar is the only tool that needs to write archive files. Every other tool
should be able to use the lib/Object interface.
llvm-svn: 184083
2013-06-17 15:47:20 +00:00