Merge "linker: log only real dlerrors"

This commit is contained in:
Dimitry Ivanov 2017-03-28 20:40:45 +00:00 committed by Gerrit Code Review
commit df3b922fcf
2 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,7 @@ static char* __bionic_set_dlerror(char* new_value) {
char* old_value = *dlerror_slot;
*dlerror_slot = new_value;
LD_LOG(kLogErrors, "%s\n", new_value);
return old_value;
}

View File

@ -38,7 +38,6 @@
do { \
__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \
/* If LD_DEBUG is set high enough, log every dlerror(3) message. */ \
LD_LOG(kLogErrors, "%s\n", linker_get_error_buffer()); \
} while (false)
#define DL_WARN(fmt, x...) \