summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux/HostInfoLinux.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-06-13 22:23:48 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-06-13 22:23:48 +0000
commitdd2f78e34cdc5e5cbad8c293b5422c0efe9f5063 (patch)
treebddedc3f6dc5a752563ba300cab85dbc0679c843 /lldb/source/Host/linux/HostInfoLinux.cpp
parent937348cd1359b30359b958ca81b7e7d8711b443e (diff)
downloadbcm5719-llvm-dd2f78e34cdc5e5cbad8c293b5422c0efe9f5063.tar.gz
bcm5719-llvm-dd2f78e34cdc5e5cbad8c293b5422c0efe9f5063.zip
[FileSpec] Make style argument mandatory for SetFile. NFC
Fix SetFile uses in hosts that I missed in r334663. llvm-svn: 334664
Diffstat (limited to 'lldb/source/Host/linux/HostInfoLinux.cpp')
-rw-r--r--lldb/source/Host/linux/HostInfoLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/HostInfoLinux.cpp b/lldb/source/Host/linux/HostInfoLinux.cpp
index 4df14cf7561..4983947ea4d 100644
--- a/lldb/source/Host/linux/HostInfoLinux.cpp
+++ b/lldb/source/Host/linux/HostInfoLinux.cpp
@@ -187,7 +187,7 @@ FileSpec HostInfoLinux::GetProgramFileSpec() {
ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1);
if (len > 0) {
exe_path[len] = 0;
- g_program_filespec.SetFile(exe_path, false);
+ g_program_filespec.SetFile(exe_path, false, FileSpec::Style::native);
}
}
OpenPOWER on IntegriCloud