From 6ee82e885b3e7350b2e237e203ed483c76ca2acb Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 18 Apr 2022 11:09:12 +0200 Subject: [PATCH] Update comments --- m-core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m-core.h b/m-core.h index b3243b9a..7e2e925e 100644 --- a/m-core.h +++ b/m-core.h @@ -2452,6 +2452,8 @@ namespace m_lib { However, address sanitizer doesn't see this particular corner case, and raise an error. So let's disable this implementation if address sanitizer is enabled. + Encapsulating the array in a struct will generate an additionnal memcpy + to recopy the buffer from the stack to the stack (!) */ #define M_CSTR(...) \ M_ATTR_EXTENSION ({char m_core_tmp[M_USE_CSTR_ALLOC]; \