Index: runtime/vm/native_symbol_macos.cc |
diff --git a/runtime/vm/native_symbol_macos.cc b/runtime/vm/native_symbol_macos.cc |
index 6c6c4db46d3c4ea4e2bee225a363d0055b9719c7..1411f3f9caae20047946fc8aad3edcfe099d2a89 100644 |
--- a/runtime/vm/native_symbol_macos.cc |
+++ b/runtime/vm/native_symbol_macos.cc |
@@ -44,19 +44,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_MACOS) |