diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 7f9574d43d1..e1fd479699a 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4621,6 +4621,12 @@ mark_maybe_pointer (void *p) | |||
| 4621 | 4621 | ||
| 4622 | static void | 4622 | static void |
| 4623 | mark_memory (void *start, void *end) | 4623 | mark_memory (void *start, void *end) |
| 4624 | #ifdef __clang__ | ||
| 4625 | /* Do not allow -faddress-sanitizer to check this function, since it | ||
| 4626 | crosses the function stack boundary, and thus would yield many | ||
| 4627 | false positives. */ | ||
| 4628 | __attribute__((no_address_safety_analysis)) | ||
| 4629 | #endif | ||
| 4624 | { | 4630 | { |
| 4625 | void **pp; | 4631 | void **pp; |
| 4626 | int i; | 4632 | int i; |