Commit ed6b3510 authored by John Wiegley's avatar John Wiegley
Browse files

alloc.c (mark_memory): Do not check with -faddress-sanitizer when

building with Clang.
parent 65400531
2012-06-26 John Wiegley <johnw@newartisans.com>
* alloc.c (mark_memory): Do not check with -faddress-sanitizer
when building with Clang.
2012-06-26 Stefan Monnier <monnier@iro.umontreal.ca> 2012-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
* eval.c (Fapply): Allow calling it with a single argument. * eval.c (Fapply): Allow calling it with a single argument.
......
...@@ -4621,6 +4621,12 @@ mark_maybe_pointer (void *p) ...@@ -4621,6 +4621,12 @@ mark_maybe_pointer (void *p)
static void static void
mark_memory (void *start, void *end) mark_memory (void *start, void *end)
#ifdef __clang__
/* Do not allow -faddress-sanitizer to check this function, since it
crosses the function stack boundary, and thus would yield many
false positives. */
__attribute__((no_address_safety_analysis))
#endif
{ {
void **pp; void **pp;
int i; int i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment