summaryrefslogtreecommitdiff
path: root/mark.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-03-31 15:16:16 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-03-31 15:16:16 +0300
commit4b96d5296fc05586971c801c152dcb7b970e9523 (patch)
tree8971365793436c6f1f434a3fdef1c9de91f64a9f /mark.c
parent0375f54caa87ac87b4a29ea9af612288bcd1d311 (diff)
downloadbdwgc-4b96d5296fc05586971c801c152dcb7b970e9523.tar.gz
Workaround TSan FP in GC_finalized_malloc and GC_push_unconditionally
* mark.c [ENABLE_DISCLAIM] (GC_push_unconditionally): Add GC_ATTR_NO_SANITIZE_THREAD attribute.
Diffstat (limited to 'mark.c')
-rw-r--r--mark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mark.c b/mark.c
index 8e0f3c03..0b067c15 100644
--- a/mark.c
+++ b/mark.c
@@ -1915,6 +1915,7 @@ STATIC void GC_push_marked(struct hblk *h, hdr *hhdr)
/* first word. On the other hand, a reclaimed object is a members of */
/* free-lists, and thus contains a word-aligned next-pointer as the */
/* first word. */
+ GC_ATTR_NO_SANITIZE_THREAD
STATIC void GC_push_unconditionally(struct hblk *h, hdr *hhdr)
{
word sz = hhdr -> hb_sz;