summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkItems.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-07 18:21:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-07 18:21:42 +0000
commit5b891e98471ec8a21e3cd2182a322c77aad200bb (patch)
tree41dd8e6fcd6d4347ca4ed7e22e8f52386e0a0d39 /llvm/lib/Linker/LinkItems.cpp
parent2e81f65eb8c066ceb7f7eaa88abc37069ef4bc56 (diff)
downloadbcm5719-llvm-5b891e98471ec8a21e3cd2182a322c77aad200bb.tar.gz
bcm5719-llvm-5b891e98471ec8a21e3cd2182a322c77aad200bb.zip
For PR495:
Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
Diffstat (limited to 'llvm/lib/Linker/LinkItems.cpp')
-rw-r--r--llvm/lib/Linker/LinkItems.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkItems.cpp b/llvm/lib/Linker/LinkItems.cpp
index 34677ce3654..a67733437ee 100644
--- a/llvm/lib/Linker/LinkItems.cpp
+++ b/llvm/lib/Linker/LinkItems.cpp
@@ -118,7 +118,7 @@ bool Linker::LinkInLibraries(const std::vector<std::string> &Libraries) {
///
bool Linker::LinkInFile(const sys::Path &File) {
// Make sure we can at least read the file
- if (!File.readable())
+ if (!File.canRead())
return error("Cannot find linker input '" + File.toString() + "'");
// A user may specify an ar archive without -l, perhaps because it
OpenPOWER on IntegriCloud