summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/linux/Host.cpp')
-rw-r--r--lldb/source/Host/linux/Host.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Host/linux/Host.cpp b/lldb/source/Host/linux/Host.cpp
index b30e6d5613f..04696956f49 100644
--- a/lldb/source/Host/linux/Host.cpp
+++ b/lldb/source/Host/linux/Host.cpp
@@ -175,6 +175,12 @@ Host::GetAuxvData(lldb_private::Process *process)
return ProcFileReader::ReadIntoDataBuffer (process->GetID(), "auxv");
}
+lldb::DataBufferSP
+Host::GetAuxvData (lldb::pid_t pid)
+{
+ return ProcFileReader::ReadIntoDataBuffer (pid, "auxv");
+}
+
static bool
IsDirNumeric(const char *dname)
{
OpenPOWER on IntegriCloud