From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id C643F3858400; Mon, 22 Nov 2021 19:08:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C643F3858400 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8E0991FD58; Mon, 22 Nov 2021 19:07:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1637608079; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M+5d6oTotzC8bPKj0PIdUV8SQebF0utADHIILhWkpZA=; b=purf4DnzCDS3F7eijWDAro2R6KFViG7d+tU9YDgpSdoAkMg4kO62LrtmmpxECzkU75HGVw FpacHcZPHevG8ZD6oY+fM9WGuTu4cb0N+O1mqiwuQNSYKhjiS2wQLsZFzc1Xsg89rWfPaK XgW0kN/jc7KQugIZgO0i2ohO+t5RU4o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1637608079; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M+5d6oTotzC8bPKj0PIdUV8SQebF0utADHIILhWkpZA=; b=URibRZ6k6TMlOTzbib1Fg3dGUoGUqJK0DLgc06zIX/6YkbOY6v883ybU9SY9jF/7WOdeBa pqMAYB4hi6pqFWCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6557213AAF; Mon, 22 Nov 2021 19:07:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id D5K7F4/qm2HScgAAMHmgww (envelope-from ); Mon, 22 Nov 2021 19:07:59 +0000 Message-ID: Date: Mon, 22 Nov 2021 20:07:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: New ThreadSanitizer runtime (v3) Content-Language: en-US To: Dmitry Vyukov Cc: gcc , ro@gcc.gnu.org, Jakub Jelinek , =?UTF-8?Q?Martin_Li=c5=a1ka?= , Marco Elver , Alexander Potapenko References: <1b8fa4e6-7a78-cdbb-c06d-fe7cd58d1e76@suse.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2021 19:08:02 -0000 On 11/22/21 20:00, Dmitry Vyukov wrote: > Not sure about gcc, but in clang the old no_sanitize_thread attribute > disabled only part of instrumentation (only memory accesses, but not > atomics and function entry/exit). The new attribute disables all > instrumentation. And what about no_sanitize("thread"): https://clang.llvm.org/docs/AttributeReference.html#no-sanitize How is that different from the new attribute? Please document how that differs (if you really need the new attribute). Thanks, Martin