summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-01-15 11:50:05 +0000
committerPavel Labath <labath@google.com>2018-01-15 11:50:05 +0000
commitdbda2851789906cd05c700db9d84e8914dd22f51 (patch)
tree435a36577d1d51ad7ad4f4b783ecf0cbc0bdba12 /lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
parente831bb3cd99c66584354198650815f07889af7fc (diff)
downloadbcm5719-llvm-dbda2851789906cd05c700db9d84e8914dd22f51.tar.gz
bcm5719-llvm-dbda2851789906cd05c700db9d84e8914dd22f51.zip
One more attempt to fix NetBSD build
llvm-svn: 322477
Diffstat (limited to 'lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp')
-rw-r--r--lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
index 76f9badbfb9..a72edd83769 100644
--- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
+++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
@@ -872,7 +872,7 @@ NativeProcessNetBSD::GetAuxvData() const {
size_t auxv_size = 100 * sizeof(AuxInfo);
ErrorOr<std::unique_ptr<WritableMemoryBuffer>> buf =
- llvm::MemoryBuffer::getNewMemBuffer(auxv_size);
+ llvm::WritableMemoryBuffer::getNewMemBuffer(auxv_size);
struct ptrace_io_desc io;
io.piod_op = PIOD_READ_AUXV;
OpenPOWER on IntegriCloud