Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1300720pxk; Fri, 18 Sep 2020 08:53:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOmRg1OcJr96u4bBeW0CBguvjlHhgBQrBDw89V7A8lRqy2aEv5tBl4KuJ+qViBNOia6NgJ X-Received: by 2002:aa7:db47:: with SMTP id n7mr39663050edt.315.1600444419403; Fri, 18 Sep 2020 08:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600444419; cv=none; d=google.com; s=arc-20160816; b=NV7oU+rckPSOG50laD/DcYyTQ33IftGPiJqdt6c2UPcJHOP8tMkxnEF3h6aqs820qC lUT0JjAgXt0/30QPdpWLsvakpi0zbZCsHtTo7tkDSzRIpdo7FXB7X3oqs2/Ju97mI6LZ Dn3BAKIrtbUtrhmgFZvZ0pj+pNfeNy0hDltBa3CPQHJhws8w5BmcrNLy/omwu3GGxyaO Sw8+do3d0XAa0UnywlSQXo1bmLV+LiziLtBBJfmaPyKuObP+enegoMUUZzuATTharX5t mgpkpCBkcV2CVXnMU1pwryN9GpjVwfVTzehRDfcE3EFC1+x7LgIQjFYCHPFWxsTgHE9C Jeaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wN2Lonk3fGag+MhygRATrzJGxu02WDrFo0smM6EKPM0=; b=BrRYz3aTDd70zLgClpwFVvc1+VNCkE+x6Cc1LJE0ubTo2GW+5MCOTltX5kAJF6fKNa Tito/WVixRSNReCWzfgEUM/H//Lgiv4kqNXl0zjdWuNfaxOF4gkZ0YL8ZpKlUX0WIMEY MEJ0rfTCMsRV1foCFLkSisXDxB4jhBdE8CVzLFFruo1HLbEapgb9e+Vum7pFKQQuTKK9 G2noa+CU7dgWAq+c7XcMqAyLpvlj5jY0nTBQ5oLUgG2w6Lux19dxv8LuSZzdkAg4Y7SX qoGU5W2FFChbWxxIUDgwMEvsqEE5Xmmkn39XUm7V+GFEB0N5HAFCHtVjZcbDUjW5X/79 f2Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BXezf2Pj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si2395693ejb.50.2020.09.18.08.53.14; Fri, 18 Sep 2020 08:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BXezf2Pj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbgIRPvw (ORCPT + 99 others); Fri, 18 Sep 2020 11:51:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:41501 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbgIRPvw (ORCPT ); Fri, 18 Sep 2020 11:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600444310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wN2Lonk3fGag+MhygRATrzJGxu02WDrFo0smM6EKPM0=; b=BXezf2PjKKo2VGIpVTB97dtjMPE7B2I6jWvUQUbJJDuBGZgZRpOvCjfQCveciR88pfs0i4 TyYX6AyOJ+GZi2HZoa2/yLPso/AykoR1dXO/9XZj66iJUpBa2bJZ8V1dC1UdjQDgDaHtgQ 3k4D2z0+89IogB+N0IbmmSbhPSrXgHQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-324-WN-K92OLM3CSA5U4WeuAyw-1; Fri, 18 Sep 2020 11:51:48 -0400 X-MC-Unique: WN-K92OLM3CSA5U4WeuAyw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 810D7188C12D; Fri, 18 Sep 2020 15:51:46 +0000 (UTC) Received: from treble (ovpn-116-15.rdu2.redhat.com [10.10.116.15]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E0B5555771; Fri, 18 Sep 2020 15:51:44 +0000 (UTC) Date: Fri, 18 Sep 2020 10:51:43 -0500 From: Josh Poimboeuf To: Ilie Halip Cc: Linux Kernel Mailing List , Nick Desaulniers , Rong Chen , Marco Elver , Philip Li , Borislav Petkov , kasan-dev , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux , Peter Zijlstra , Nathan Chancellor Subject: Re: [PATCH] objtool: ignore unreachable trap after call to noreturn functions Message-ID: <20200918154840.h3xbspb5jq7zw755@treble> References: <20200917084905.1647262-1-ilie.halip@gmail.com> <20200917221620.n4vavakienaqvqvi@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 18, 2020 at 08:35:40AM +0300, Ilie Halip wrote: > > The patch looks good to me. Which versions of Clang do the trap after > > noreturn call? It would be good to have that in the commit message. > > I omitted this because it happens with all versions of clang that are > supported for building the kernel. clang-9 is the oldest version that > could build the mainline x86_64 kernel right now, and it has the same > behavior. Ok. It should at least mention that this is a Clang-specific thing, since GCC's version of UBSAN_TRAP doesn't do it. > Should I send a v2 with this info? Yes, please. -- Josh