summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-01 15:47:33 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-01 15:47:33 +0000
commit7c5310bbd3eeaa654f4f008e93f8a91cefe69c06 (patch)
tree3ab7babc86ddd54dcb145ada6e745ca0e6c8fd21 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime
parentc5fe3ce2ec8b44b2cbab6fe5dc50633492fbd80d (diff)
downloadbcm5719-llvm-7c5310bbd3eeaa654f4f008e93f8a91cefe69c06.tar.gz
bcm5719-llvm-7c5310bbd3eeaa654f4f008e93f8a91cefe69c06.zip
[FileSystem] Remove GetPermissions() and Readable() from FileSpec
This patch removes the GetPermissions and GetReadable methods from FileSpec and updates its uses with calls to the FileSystem. Differential revision: https://reviews.llvm.org/D53831 llvm-svn: 345843
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
index f5ecb5253e3..363745f0707 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
@@ -2536,7 +2536,7 @@ bool RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id,
return false;
}
- if (!file.Readable()) {
+ if (!FileSystem::Instance().Readable(file)) {
strm.Printf("Error: File %s does not have readable permissions", path);
strm.EOL();
return false;
OpenPOWER on IntegriCloud