aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-03-29 17:29:59 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-03-29 17:29:59 +0000
commitcf525fcbae2ad70c9cee2f1941483bb1e51040ce (patch)
treec20fffc85ddb74ea86531347971cc99aad7082ac /tools
parentb9681893c8e52da55a28025db28894a46f8317b7 (diff)
downloadexternal_llvm-cf525fcbae2ad70c9cee2f1941483bb1e51040ce.zip
external_llvm-cf525fcbae2ad70c9cee2f1941483bb1e51040ce.tar.gz
external_llvm-cf525fcbae2ad70c9cee2f1941483bb1e51040ce.tar.bz2
getFileStatus has a new parameter (caught by VC++).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-ar/llvm-ar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index b9278ad..ea3a59b 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -310,7 +310,7 @@ bool buildPaths(bool checkExistence, std::string* ErrMsg) {
throw std::string("File does not exist: ") + Members[i];
sys::FileStatus si;
std::string Err;
- if (aPath.getFileStatus(si, &Err))
+ if (aPath.getFileStatus(si, false, &Err))
throw Err;
if (si.isDir) {
std::set<sys::Path> dirpaths;
@@ -646,7 +646,7 @@ doReplaceOrInsert(std::string* ErrMsg) {
if (found != remaining.end()) {
sys::FileStatus si;
std::string Err;
- if (found->getFileStatus(si, &Err))
+ if (found->getFileStatus(si, false, &Err))
return true;
if (si.isDir) {
if (OnlyUpdate) {