зеркало из https://github.com/mozilla/gecko-dev.git
Bug 839338 - ASan alloc/dealloc mismatch in _M_create_nodes/_M_destroy_nodes. r=waldo.
This commit is contained in:
Родитель
68239b1a0a
Коммит
a8f5bd4bfb
|
@ -22,6 +22,7 @@
|
|||
#if defined(__cplusplus)
|
||||
#include "mozilla/fallible.h"
|
||||
#endif
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#define MOZALLOC_HAVE_XMALLOC
|
||||
|
||||
|
|
|
@ -33,9 +33,7 @@
|
|||
* compilers are not guaranteed to respect it (although they're much more likely
|
||||
* to do so).
|
||||
*/
|
||||
#if defined(DEBUG)
|
||||
# define MOZ_ALWAYS_INLINE MOZ_INLINE
|
||||
#elif defined(_MSC_VER)
|
||||
#if defined(_MSC_VER)
|
||||
# define MOZ_ALWAYS_INLINE __forceinline
|
||||
#elif defined(__GNUC__)
|
||||
# define MOZ_ALWAYS_INLINE __attribute__((always_inline)) MOZ_INLINE
|
||||
|
|
Загрузка…
Ссылка в новой задаче