mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
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,7 +41,12 @@
|
|||||||
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
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
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# SKU Identification section - list of all SKU IDs supported by this Platform.
|
# SKU Identification section - list of all SKU IDs supported by this Platform.
|
||||||
|
@ -41,6 +41,11 @@
|
|||||||
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
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…
x
Reference in New Issue
Block a user