Commit Graph

4 Commits (64b655f0624037a9c74822b27e0ecc333a584f1b)

Author SHA1 Message Date
Daniel Micay b66ca56ba1 initialize ptr to nullptr in handle_out_of_memory
It will break out of the loop in the first iteration if there's no
handler or the handler throws an out-of-memory error.
2018-10-14 18:00:55 -04:00
Daniel Micay 7606bf4c1f clean up includes in new.cc 2018-10-11 01:35:25 -04:00
Daniel Micay 4716ff5b92 explicitly export C++ allocator overrides
This doesn't make any difference for GCC, but these aren't replaced
outside of the library with Clang without explicitly exporting them.
2018-10-05 02:23:49 -04:00
Daniel Micay e6e9ac1fc9 support replacing C++ new/delete implementation
This adds support for sanity checks based on sized deallocation and will
reduce the overhead of calls through the C++ allocator.
2018-10-05 02:11:29 -04:00