diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-23 13:07:05 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-27 15:20:51 +0800 |
commit | 0d9b5c461a311a1001192a01084ec579510b2048 (patch) | |
tree | 5d5871a38591591dbacc6225e46cb39151b04a96 /EmulatorPkg | |
parent | 3c859dfebb436487928eab4644a33ce05b1905ac (diff) | |
download | edk2-0d9b5c461a311a1001192a01084ec579510b2048.zip edk2-0d9b5c461a311a1001192a01084ec579510b2048.tar.gz edk2-0d9b5c461a311a1001192a01084ec579510b2048.tar.bz2 |
EmulatorPkg/Win: Enable source level debugging
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/EmulatorPkg.dsc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 8afeaf5..67812f7 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -420,3 +420,11 @@ !endif
+[BuildOptions]
+ MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-
+ MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-
+
+ MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
+ MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
+ MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000
+
|