Merge "linker: log only real dlerrors"
This commit is contained in:
commit
df3b922fcf
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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...) \
|
||||
|
|
Loading…
Reference in New Issue