diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-08 23:21:00 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-08 23:21:00 +0000 |
commit | 7010ef34d5cc4f9bc32585fe1ada3d1c2a22b700 (patch) | |
tree | 2051062d26147f46d1faa4948a5efb82b1ebc564 /lldb/source/Host/android/HostInfoAndroid.cpp | |
parent | 8c7b78767a20664d6df6daa77abef78a0e9580af (diff) | |
download | bcm5719-llvm-7010ef34d5cc4f9bc32585fe1ada3d1c2a22b700.tar.gz bcm5719-llvm-7010ef34d5cc4f9bc32585fe1ada3d1c2a22b700.zip |
Update FileSpec constructor signature
llvm-svn: 346449
Diffstat (limited to 'lldb/source/Host/android/HostInfoAndroid.cpp')
-rw-r--r-- | lldb/source/Host/android/HostInfoAndroid.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Host/android/HostInfoAndroid.cpp b/lldb/source/Host/android/HostInfoAndroid.cpp index f2911511afb..3dea01f8240 100644 --- a/lldb/source/Host/android/HostInfoAndroid.cpp +++ b/lldb/source/Host/android/HostInfoAndroid.cpp @@ -40,8 +40,11 @@ FileSpec HostInfoAndroid::ResolveLibraryPath(const std::string &module_path, static const char *const default_lib64_path[] = {"/vendor/lib64", "/system/lib64", nullptr}; - if (module_path.empty() || module_path[0] == '/') - return FileSpec(module_path.c_str(), true); + if (module_path.empty() || module_path[0] == '/') { + FileSpec file_spec(module_path.c_str()); + FileSystem::Instance().Resolve(file_spec); + return file_spec; + } SmallVector<StringRef, 4> ld_paths; |