We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6cfde6 commit eda1699Copy full SHA for eda1699
lldb/source/Host/common/Host.cpp
@@ -352,15 +352,13 @@ bool Host::ResolveExecutableInBundle(FileSpec &file) { return false; }
352
353
FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) {
354
FileSpec module_filespec;
355
-#if !defined(__ANDROID__)
356
Dl_info info;
357
if (::dladdr(host_addr, &info)) {
358
if (info.dli_fname) {
359
module_filespec.SetFile(info.dli_fname, FileSpec::Style::native);
360
FileSystem::Instance().Resolve(module_filespec);
361
}
362
363
-#endif
364
return module_filespec;
365
366
0 commit comments