From patchwork Fri Jun 7 09:05:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 166083 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp384581ili; Fri, 7 Jun 2019 02:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGyWn79h4BuZ/YBsvd5F7GZJbtgMjsiugf6yw17Vnv/fGf13tWGAdTuJaZPibolfQ2t278 X-Received: by 2002:a05:620a:12ef:: with SMTP id f15mr24272044qkl.340.1559898813231; Fri, 07 Jun 2019 02:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559898813; cv=none; d=google.com; s=arc-20160816; b=Y3WVABZd5upUHk/Mgp82dSjVd1KTDfO+xPhkcNifcc77qXzRZ+Bkmmm4Q++P8zdNkS uLMynl2HxWg1p5yc2PXn7VTP+U8tIPZvASbCil0PwkKr61LXt8Qmt4zX83NLz0PHg4Pa w0PMceqnP9OtCiSYKzCndUMZx2bpvwq066svsBm0gYODIwfOOPHWbXXef8+CUzbsYmm9 k58uwtmmdJbYuUSglaBHepWO7jfZ4JHzBeeIgxYnDhXkb5kPDTqj4UnQBjVtNeNnzysy 3pr7ezUJtFtcTDccQRphDsAy0DWhGQIGGHui7HQoOeU8PUX2HkjvdC4/6kxO7ySNpopU y74g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=WAruCVUMvVUZGKjuxI8Kw2Q2uX+I+acKmrGoMuG66f8=; b=jcDBgoqWNJ82hkKVXD6ls7rOtYX+trCr0vBG/V+SvAIi5Sbps3yE26x/aUobd/O9zW z2lPQMgfuwZ7D9Uexa6Bj//YPmkzP89LDBdWhK89fjOZsKwXGZaCstGfovK+gzM7wrCC vkno+/nSOd1auZHWpRZ16nusvSpenAM04qZfUw0jmHXPNS6qhR47L2coPmCyrZqHC+kw REFBHVb6pY0jfgXfYF3Z0jxJrd+JVNZl0cDzrxIDXzzA0LQkaBx7rH+QAoyGu4yTOp5B g9he77l5Cx3N2Pb4+b7SDvndSrd1AWv5sKwEbKdNKXYdOIplWZwQcUivSJIq8uubCr6A GjRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yACQQXAm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.47]) by mx.google.com with ESMTPS id q20si905749qtn.300.2019.06.07.02.13.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jun 2019 02:13:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 as permitted sender) client-ip=209.51.188.47; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yACQQXAm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.47 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZAwG-0002kH-Qw for patch@linaro.org; Fri, 07 Jun 2019 05:13:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39388) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZAp1-00047Z-Fg for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZAoy-0004Ii-1T for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:06:03 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:41276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZAox-0004Ct-Ra for qemu-devel@nongnu.org; Fri, 07 Jun 2019 05:05:59 -0400 Received: by mail-wr1-x432.google.com with SMTP id c2so1338120wrm.8 for ; Fri, 07 Jun 2019 02:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WAruCVUMvVUZGKjuxI8Kw2Q2uX+I+acKmrGoMuG66f8=; b=yACQQXAmEShz7T8rno6cKs8EZgrltB2s2aGEYSUgVT01Xx5M4SmxLwEbPMdxLvs7jI Wfm4H2sYxkd1XyaeH+JaiN6TaUYmvboJ1ankaxsvTWzmbw1vHHNDpg0mYBVxOAHoIxtI 8y7/XK4dj/mEm8hZWaBtSR+oVPT8rzk3KtARNtURrIavMRjRETGFeeUGc0zuUmF3TaGF 5iPApuy2SxNBHq+zJFGGCyM0FX/m/tBb3Sj8RYIFRgmi1T32DBIAO34ci40UZ9ifySsF 1hnj76vC9TurrDlu5sz9fRkbEWyAZaAndBrpFKTXL7hFnQKVRYNESOPEymKKiIyY+sNV jHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WAruCVUMvVUZGKjuxI8Kw2Q2uX+I+acKmrGoMuG66f8=; b=jOXT1WIaBGPagKvBqpGXEOBaEo6lFwwqki1HocwgL4/IGFmxo+bvhIHT1DvH7E4wPh 0OM1rFFnvwqg0j01Xn/jSgfEv2kXnzpD5z+3wL5Ls+8XZDg54Uuz4D+Ecm35YPXXwnzI 8niqtLvD2ges5Rzs79AiPDnc18TN1T/a8e2gZoirqGG33v7RpEX6HGhkDFtVLb0WF8Tq 4kwE+oRHoYvRE3tr9WeqKacZ5+5yq+3Se+9iDP9QI0qcvmDaSSju7Ero5/3ODWPvz3Pf ztC/8F4+EcHj+RxIPgpqsV/hcAklDfzCug4mdNOm20p4aF9NSIIie7lGtvUkU2v0wWDQ Y3DA== X-Gm-Message-State: APjAAAXsBusOdqlFjFo+BNIG6DsRAfkkLg3XGMQtW2vY1nv0meD2BWRe WtY9PqV+I8FDotpHYOuf8qciDA== X-Received: by 2002:adf:e4d2:: with SMTP id v18mr5887019wrm.189.1559898358300; Fri, 07 Jun 2019 02:05:58 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k10sm1645351wmk.14.2019.06.07.02.05.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 02:05:56 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 902DB1FF96; Fri, 7 Jun 2019 10:05:52 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 7 Jun 2019 10:05:06 +0100 Message-Id: <20190607090552.12434-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190607090552.12434-1-alex.bennee@linaro.org> References: <20190607090552.12434-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::432 Subject: [Qemu-devel] [PULL 07/52] .travis.yml: add clang ubsan job X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We document this on our wiki and we might as well catch it in our CI rather than waiting for it to be picked up on merge: https://wiki.qemu.org/Testing#clang_UBSan Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index f0aa37f2d1..2f1658602e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,6 +152,13 @@ matrix: compiler: clang + - env: + - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " + compiler: clang + before_script: + - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; } + + - env: - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" compiler: clang