summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-01 16:31:10 -0800
committerElliott Hughes <enh@google.com>2019-02-01 16:31:10 -0800
commit5bb113cba279f93fb840954463e897b9e28a8660 (patch)
treebb0ef349f69afba98ee358d5b21a77aeab59076b /libc/malloc_hooks/malloc_hooks.cpp
parent58dd1cbd7f2a0b8a779f2f43c45447cdccc09c3e (diff)
Pass caller names to __pthread_internal_find for better errors.
On http://b/122082295 we had this abort: 12-27 15:29:31.237 10222 10814 10848 F libc : invalid pthread_t 0xb1907960 passed to libc This wasn't super helpful. We can do better. Now you get something like this instead: 03-27 02:34:58.754 25329 25329 W libc : invalid pthread_t (0) passed to pthread_join Test: adb shell crasher Bug: http://b/123255692 Change-Id: I1d545665a233308480cc3747ec3120e2b6de0453
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions