[Lldb-commits] [PATCH] ComputeSupportExeDirectory for Linux
chaorenl at google.com
Mon Mar 23 19:20:07 PDT 2015
Comment at: source/Host/linux/HostInfoLinux.cpp:225
@@ -224,3 +224,3 @@
> Do we need to keep this method around since HostInfoPosix::ComputeSupportExeDirectory uses GetLLDBPath(lldb::ePathTypeLLDBShlibDir..) ?
[[ http://reviews.llvm.org/D7519 | This was added by me to fix this same problem. ]] HostInfoPosix::ComputeSupportExeDirectory really wants to call HostInfoBase::ComputeSharedLibraryDirectory. I think it's more correct to move it to SupportExe because if dladdr() fails, then there should be no shared library anyway.
More information about the lldb-commits