From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.6482.1580735865167772091 for ; Mon, 03 Feb 2020 05:17:45 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2020 05:17:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,397,1574150400"; d="scan'208";a="219376533" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 03 Feb 2020 05:17:44 -0800 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 3 Feb 2020 05:17:43 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 3 Feb 2020 21:17:38 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Mon, 3 Feb 2020 21:17:38 +0800 From: "Liming Gao" To: "Liu, Zhiguang" , "devel@edk2.groups.io" CC: "Kinney, Michael D" Subject: Re: [PATCH 2/2] MdePkg: Use the same VA function for both CLANGPDB and CLANG38 Thread-Topic: [PATCH 2/2] MdePkg: Use the same VA function for both CLANGPDB and CLANG38 Thread-Index: AQHV2moz81ukiPr6q0GcMty/K6dit6gJc8TQ Date: Mon, 3 Feb 2020 13:17:38 +0000 Message-ID: <975980fc3d1849c2933e218e11cd0c41@intel.com> References: <20200203081511.371848-1-zhiguang.liu@intel.com> <20200203081511.371848-2-zhiguang.liu@intel.com> In-Reply-To: <20200203081511.371848-2-zhiguang.liu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [10.239.127.36] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Liu, Zhiguang > Sent: Monday, February 3, 2020 4:15 PM > To: devel@edk2.groups.io > Cc: Kinney, Michael D ; Gao, Liming > Subject: [PATCH 2/2] MdePkg: Use the same VA function for both CLANGPDB a= nd CLANG38 >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2415 >=20 > For CLANGPDB tool chain and X64, use MS ABI version of GCC built-in macro= s for > variable argument lists to be align with CLANG38 tool chain. >=20 > Cc: Michael D Kinney > Cc: Liming Gao >=20 > Signed-off-by: Zhiguang Liu > --- > MdePkg/Include/Base.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h > index e0bcd0ae67..33211b96f7 100644 > --- a/MdePkg/Include/Base.h > +++ b/MdePkg/Include/Base.h > @@ -623,7 +623,7 @@ typedef char* VA_LIST; >=20 > #elif defined(__GNUC__) || defined(__clang__) >=20 > -#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS) && !defined(__cl= ang__) > +#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS) > // > // X64 only. Use MS ABI version of GCC built-in macros for variable argu= ment lists. > // > -- > 2.16.2.windows.1