diff options
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 266ca6e81..62e6bb6d7 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -1804,10 +1804,13 @@ void* do_dlopen(const char* name, int flags, const android_dlextinfo* extinfo, ProtectedDataGuard guard; soinfo* si = find_library(ns, translated_name, flags, extinfo, caller); if (si != nullptr) { - failure_guard.disable(); - si->call_constructors(); void* handle = si->to_handle(); LD_LOG(kLogDlopen, + "... dlopen calling constructors: realpath=\"%s\", soname=\"%s\", handle=%p", + si->get_realpath(), si->get_soname(), handle); + si->call_constructors(); + failure_guard.disable(); + LD_LOG(kLogDlopen, "... dlopen successful: realpath=\"%s\", soname=\"%s\", handle=%p", si->get_realpath(), si->get_soname(), handle); return handle; |