Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: runtime/vm/native_symbol_android.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/native_symbol.h ('k') | runtime/vm/native_symbol_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_symbol_android.cc
diff --git a/runtime/vm/native_symbol_android.cc b/runtime/vm/native_symbol_android.cc
index d08c8ada3f4e79708a0eda9e30c9d85d5a6a0cca..a54e06159dcde9c556324d27320bf7b67da56094 100644
--- a/runtime/vm/native_symbol_android.cc
+++ b/runtime/vm/native_symbol_android.cc
@@ -14,10 +14,8 @@ namespace dart {
void NativeSymbolResolver::InitOnce() {}
-
void NativeSymbolResolver::ShutdownOnce() {}
-
char* NativeSymbolResolver::LookupSymbolName(uintptr_t pc, uintptr_t* start) {
Dl_info info;
int r = dladdr(reinterpret_cast<void*>(pc), &info);
@@ -40,12 +38,10 @@ char* NativeSymbolResolver::LookupSymbolName(uintptr_t pc, uintptr_t* start) {
return strdup(info.dli_sname);
}
-
void NativeSymbolResolver::FreeSymbolName(char* name) {
free(name);
}
-
bool NativeSymbolResolver::LookupSharedObject(uword pc,
uword* dso_base,
char** dso_name) {
« no previous file with comments | « runtime/vm/native_symbol.h ('k') | runtime/vm/native_symbol_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698