mirror of https://github.com/acidanthera/audk.git
The exception table information in X64 PE/COFF images is being stripped by default in the OvmfPkg.
This patch preserves this information when SOURCE_DEBUG_ENABLE is set. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Laszlo Ersek git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13780 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
dccf767884
commit
bbcafc442b
|
@ -41,6 +41,11 @@
|
|||
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||
GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
||||
!ifdef $(SOURCE_DEBUG_ENABLE)
|
||||
MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
!endif
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||
GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
||||
!ifdef $(SOURCE_DEBUG_ENABLE)
|
||||
MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||
!endif
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue