[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r108757: alloc.c (mark_memory): Do no
From: |
jwiegley |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r108757: alloc.c (mark_memory): Do not check with -faddress-sanitizer when |
Date: |
Tue, 26 Jun 2012 22:49:35 -0500 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 108757
committer: address@hidden
branch nick: trunk
timestamp: Tue 2012-06-26 22:49:35 -0500
message:
alloc.c (mark_memory): Do not check with -faddress-sanitizer when
building with Clang.
modified:
src/ChangeLog
src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-06-26 23:09:09 +0000
+++ b/src/ChangeLog 2012-06-27 03:49:35 +0000
@@ -1,3 +1,8 @@
+2012-06-26 John Wiegley <address@hidden>
+
+ * alloc.c (mark_memory): Do not check with -faddress-sanitizer
+ when building with Clang.
+
2012-06-26 Stefan Monnier <address@hidden>
* eval.c (Fapply): Allow calling it with a single argument.
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2012-06-26 14:41:01 +0000
+++ b/src/alloc.c 2012-06-27 03:49:35 +0000
@@ -4621,6 +4621,12 @@
static void
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;
int i;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r108757: alloc.c (mark_memory): Do not check with -faddress-sanitizer when,
jwiegley <=