summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-02-10 15:23:58 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-02-10 15:23:58 +0000
commitada705a5d2ee1d49fedc4df199cbfa33569d6f24 (patch)
treeb14b5acdf52812e7f2b4fd83635c5c460df21a60
parent833550fc74b9d860ba8a711df2d1e3855f91bce1 (diff)
downloadbcm5719-llvm-ada705a5d2ee1d49fedc4df199cbfa33569d6f24.tar.gz
bcm5719-llvm-ada705a5d2ee1d49fedc4df199cbfa33569d6f24.zip
lldb: Fix compilation on OpenBSD
Summary: Update the OpenBSD Host.cpp for the new SetFile() function signature. Fixes compiling lldb on OpenBSD. Reviewers: krytarowski Reviewed By: krytarowski Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D57907 llvm-svn: 353642
-rw-r--r--lldb/source/Host/openbsd/Host.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Host/openbsd/Host.cpp b/lldb/source/Host/openbsd/Host.cpp
index 0700c4b15c2..d91a01b68a5 100644
--- a/lldb/source/Host/openbsd/Host.cpp
+++ b/lldb/source/Host/openbsd/Host.cpp
@@ -67,8 +67,7 @@ GetOpenBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
cstr = data.GetCStr(&offset);
if (cstr) {
- process_info.GetExecutableFile().SetFile(cstr, false,
- FileSpec::Style::native);
+ process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native);
if (!(match_info_ptr == NULL ||
NameMatches(
OpenPOWER on IntegriCloud