Reduce log spam: failing to find an instructions buffer isn't an error for ordinary core snapshots. (flutter/engine#5370)

This commit is contained in:
Ryan Macnak 2018-05-25 10:31:56 -07:00 committed by GitHub
parent c126c9ecdf
commit e0e92ecd24

View File

@ -60,7 +60,7 @@ fxl::RefPtr<NativeLibrary> NativeLibrary::CreateForCurrentProcess() {
const uint8_t* NativeLibrary::ResolveSymbol(const char* symbol) {
auto resolved_symbol = static_cast<const uint8_t*>(::dlsym(handle_, symbol));
if (resolved_symbol == nullptr) {
FXL_DLOG(ERROR) << "Could not resolve symbol in library: " << symbol;
FXL_DLOG(INFO) << "Could not resolve symbol in library: " << symbol;
}
return resolved_symbol;
}