summaryrefslogtreecommitdiff
path: root/src/emergency_malloc.h
Commit message (Collapse)AuthorAgeFilesLines
* replace LIKELY/UNLIKELY with PREDICT_{TRUE,FALSE}Aliaksey Kandratsenka2017-05-141-1/+1
| | | | | Google-internal code is using PREDICT_TRUE/FALSE, so we should be doing it too.
* implemented emergency mallocAliaksey Kandratsenka2016-02-211-0/+60
Emergency malloc is enabled for cases when backtrace capturing needs to call malloc. In this case, we enable emergency malloc just prior to calling such code and disable it after it is done.