Index: runtime/vm/native_symbol_linux.cc |
diff --git a/runtime/vm/native_symbol_linux.cc b/runtime/vm/native_symbol_linux.cc |
index 4afcb4b716b493f9cc99947a0b8b5254b84b5ff6..d5df815459f99605a2852a542a76dbb0ecc7f51c 100644 |
--- a/runtime/vm/native_symbol_linux.cc |
+++ b/runtime/vm/native_symbol_linux.cc |
@@ -47,19 +47,6 @@ void NativeSymbolResolver::FreeSymbolName(char* name) { |
} |
-bool NativeSymbolResolver::LookupSharedObject(uword pc, |
- uword* dso_base, |
- char** dso_name) { |
- Dl_info info; |
- int r = dladdr(reinterpret_cast<void*>(pc), &info); |
- if (r == 0) { |
- return false; |
- } |
- *dso_base = reinterpret_cast<uword>(info.dli_fbase); |
- *dso_name = strdup(info.dli_fname); |
- return true; |
-} |
- |
} // namespace dart |
#endif // defined(HOST_OS_LINUX) |