diff options
author | Martin Liska <mliska@suse.cz> | 2019-06-12 15:07:07 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-06-12 13:07:07 +0000 |
commit | ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e (patch) | |
tree | 9a67df7d7f672eadd843ec0dc84484f438130c8b /gcc/mem-stats.h | |
parent | 57bbc3e2f030b810766916189ec802aed5db5041 (diff) | |
download | gcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.zip gcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.tar.gz gcc-ff7b3aa51f8edd24fdc599d9f95a5cbf61aeb76e.tar.bz2 |
Disable hash-table sanitization for mem stats maps.
2019-06-12 Martin Liska <mliska@suse.cz>
* ggc-common.c (ggc_prune_overhead_list): Do not sanitize
the created map.
* hash-map.h: Add sanitize_eq_and_hash into ::hash_map.
* mem-stats.h (mem_alloc_description::mem_alloc_description):
Do not sanitize created maps.
From-SVN: r272183
Diffstat (limited to 'gcc/mem-stats.h')
-rw-r--r-- | gcc/mem-stats.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/mem-stats.h b/gcc/mem-stats.h index 63ce871..7796059 100644 --- a/gcc/mem-stats.h +++ b/gcc/mem-stats.h @@ -559,9 +559,9 @@ template <class T> inline mem_alloc_description<T>::mem_alloc_description () { - m_map = new mem_map_t (13, false, false); - m_reverse_map = new reverse_mem_map_t (13, false, false); - m_reverse_object_map = new reverse_object_map_t (13, false, false); + m_map = new mem_map_t (13, false, false, false); + m_reverse_map = new reverse_mem_map_t (13, false, false, false); + m_reverse_object_map = new reverse_object_map_t (13, false, false, false); } /* Default destructor. */ |