diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-12-11 07:48:23 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-12-11 07:48:23 +0000 |
| commit | 3b7793797f773ee0132b38767b104ad80af75229 (patch) | |
| tree | cf23e1f1775f3baa245e66f82fece41cd860b09c /llvm/lib/Object/ObjectFile.cpp | |
| parent | 53c3877f94635ed77ccb35cd1dffc3b44e42dff4 (diff) | |
| download | bcm5719-llvm-3b7793797f773ee0132b38767b104ad80af75229.tar.gz bcm5719-llvm-3b7793797f773ee0132b38767b104ad80af75229.zip | |
Extend stat query APIs to explicitly specify if the query is for
a file or directory, allowing just a stat call if a file descriptor
is not needed.
Doing just 'stat' is faster than 'open/fstat/close'.
This has the effect of cutting down system time for validating the input files of a PCH.
llvm-svn: 169831
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

