aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/Host.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
committerEd Maste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
commit86758c718870f701bc69c1ca05495305ed1c5b85 (patch)
treeb2051e4e4856cc58ac7e2d20242b870b4f355ca1 /include/lldb/Host/Host.h
parentf21a844f60ae6c74fcf1fddca32461acce3c1ee0 (diff)
Import lldb as of SVN r196259 (git 3be86e5)vendor/lldb/lldb-r196259
(A number of files not required for the FreeBSD build have been removed.) Sponsored by: DARPA, AFRL
Diffstat (limited to 'include/lldb/Host/Host.h')
-rw-r--r--include/lldb/Host/Host.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/include/lldb/Host/Host.h b/include/lldb/Host/Host.h
index 1d667dee5a20..fe0f6f62b3bc 100644
--- a/include/lldb/Host/Host.h
+++ b/include/lldb/Host/Host.h
@@ -510,13 +510,28 @@ public:
const char *symbol_name,
Error &error);
- static uint32_t
- MakeDirectory (const char* path, mode_t mode);
+ static Error
+ MakeDirectory (const char* path, uint32_t mode);
+
+ static Error
+ GetFilePermissions (const char* path, uint32_t &file_permissions);
+
+ static Error
+ SetFilePermissions (const char* path, uint32_t file_permissions);
+ static Error
+ Symlink (const char *src, const char *dst);
+
+ static Error
+ Readlink (const char *path, char *buf, size_t buf_len);
+
+ static Error
+ Unlink (const char *path);
+
static lldb::user_id_t
OpenFile (const FileSpec& file_spec,
uint32_t flags,
- mode_t mode,
+ uint32_t mode,
Error &error);
static bool