From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: liming.gao@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Thu, 15 Aug 2019 21:50:19 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2019 21:50:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,391,1559545200"; d="scan'208";a="184812953" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 15 Aug 2019 21:50:18 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 15 Aug 2019 21:50:18 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 15 Aug 2019 21:50:18 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.204]) with mapi id 14.03.0439.000; Fri, 16 Aug 2019 12:50:16 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "Kinney, Michael D" CC: "Justen, Jordan L" , "Ni, Ray" , Andrew Fish Subject: Re: [edk2-devel] [Patch V4 10/10] BaseTools/tools_def.template: Add -gdwarf to XCODE5 X64 Thread-Topic: [edk2-devel] [Patch V4 10/10] BaseTools/tools_def.template: Add -gdwarf to XCODE5 X64 Thread-Index: AQHVU9hu0yNr0RLJH0O/09Mbbj0Evab9NHsw Date: Fri, 16 Aug 2019 04:50:15 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D23C0@SHSMSX104.ccr.corp.intel.com> References: <20190816021437.7516-1-michael.d.kinney@intel.com> <20190816021437.7516-11-michael.d.kinney@intel.com> In-Reply-To: <20190816021437.7516-11-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] 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: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Michael D Kinney >Sent: Friday, August 16, 2019 10:15 AM >To: devel@edk2.groups.io >Cc: Justen, Jordan L ; Ni, Ray ; >Andrew Fish >Subject: [edk2-devel] [Patch V4 10/10] BaseTools/tools_def.template: Add = - >gdwarf to XCODE5 X64 > >Add -gdwarf to XCODE5 X64 builds to generate symbols for >source level debug using lldb. > >Cc: Jordan Justen >Cc: Ray Ni >Cc: Michael D Kinney >Signed-off-by: Andrew Fish >--- > BaseTools/Conf/tools_def.template | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/BaseTools/Conf/tools_def.template >b/BaseTools/Conf/tools_def.template >index 26a2cf604f..8f0e6cb6c2 100755 >--- a/BaseTools/Conf/tools_def.template >+++ b/BaseTools/Conf/tools_def.template >@@ -2593,8 +2593,8 @@ RELEASE_XCODE5_X64_ASM_FLAGS =3D -arch x86_64 > *_XCODE5_*_PP_FLAGS =3D -E -x assembler-with-cpp -include >$(DEST_DIR_DEBUG)/AutoGen.h > *_XCODE5_*_VFRPP_FLAGS =3D -x c -E -P -DVFRCOMPILE -include >$(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h > >- DEBUG_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g - >Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms= - >extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-= float >-mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing- >field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varar= gs >-ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang - >D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) >- NOOPT_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g - >O0 -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms= - >extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-= float >-mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing- >field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varar= gs >-ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang - >D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) >+ DEBUG_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g - >gdwarf -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char= - >fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno- >implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces - >Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compar= e >-Wno-varargs -ftrap- >function=3Dundefined_behavior_has_been_optimized_away_by_clang -D >NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) >+ NOOPT_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g - >gdwarf -O0 -Wall -Werror -Wextra -include AutoGen.h -funsigned-char= - >fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno- >implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces - >Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compar= e >-Wno-varargs -ftrap- >function=3Dundefined_behavior_has_been_optimized_away_by_clang -D >NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > RELEASE_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -O= s >-Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms- >extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-= float >-mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing- >field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varar= gs >-Wno-unused-const-variable -ftrap- >function=3Dundefined_behavior_has_been_optimized_away_by_clang -D >NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > > >########################################################### >######################### >-- >2.21.0.windows.1 > > >