Bug 1400754 - stylo: crash on Win64 Asan build. r=manishearth, dmajor.

* adds a hashglobe::alloc::realloc, as that was previously not implemented,
  copying and simplifying from liballoc_system.

* routes malloc and realloc calls through hashglobe::alloc::, instead of
  doing it via direct 'extern "C"' calls.
This commit is contained in:
Julian Seward 2017-10-02 20:53:23 +02:00
parent e13f5a656a
commit 419642a2bd
3 changed files with 22 additions and 12 deletions

View file

@ -10,7 +10,7 @@
extern crate heapsize;
mod alloc;
pub mod alloc;
pub mod hash_map;
pub mod hash_set;
pub mod protected;