summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/ProcFileReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/ProcFileReader.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/ProcFileReader.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ProcFileReader.cpp b/lldb/source/Plugins/Process/Linux/ProcFileReader.cpp
index 6b259fd8b92..4d1f231f4f9 100644
--- a/lldb/source/Plugins/Process/Linux/ProcFileReader.cpp
+++ b/lldb/source/Plugins/Process/Linux/ProcFileReader.cpp
@@ -23,8 +23,11 @@
#include "lldb/Core/DataBufferHeap.h"
#include "lldb/Core/Error.h"
+using namespace lldb_private;
+using namespace lldb_private::process_linux;
+
lldb::DataBufferSP
-lldb_private::ProcFileReader::ReadIntoDataBuffer (lldb::pid_t pid, const char *name)
+ProcFileReader::ReadIntoDataBuffer (lldb::pid_t pid, const char *name)
{
int fd;
char path[PATH_MAX];
@@ -73,10 +76,10 @@ lldb_private::ProcFileReader::ReadIntoDataBuffer (lldb::pid_t pid, const char *n
return buf_sp;
}
-lldb_private::Error
-lldb_private::ProcFileReader::ProcessLineByLine (lldb::pid_t pid, const char *name, std::function<bool (const std::string &line)> line_parser)
+Error
+ProcFileReader::ProcessLineByLine (lldb::pid_t pid, const char *name, std::function<bool (const std::string &line)> line_parser)
{
- lldb_private::Error error;
+ Error error;
// Try to open the /proc/{pid}/maps entry.
char filename [PATH_MAX];
OpenPOWER on IntegriCloud