diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-06-13 22:23:48 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-06-13 22:23:48 +0000 |
commit | dd2f78e34cdc5e5cbad8c293b5422c0efe9f5063 (patch) | |
tree | bddedc3f6dc5a752563ba300cab85dbc0679c843 /lldb/source/Host/linux/HostInfoLinux.cpp | |
parent | 937348cd1359b30359b958ca81b7e7d8711b443e (diff) | |
download | bcm5719-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.cpp | 2 |
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); } } |