]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
MdePkg: DebugAssert enhancement
authorBaraneedharan Anbazhagan <anbazhagan@hp.com>
Mon, 7 Dec 2015 03:06:02 +0000 (03:06 +0000)
committerlgao4 <lgao4@Edk2>
Mon, 7 Dec 2015 03:06:02 +0000 (03:06 +0000)
commitaa0a514967f4fb1dce1134b64b6f69aa87641de9
treef115487a24ecec25c00f796df46939f563b4e0ce
parent884a173010382cb2cad11f5c9ada2e8c1068b48a
MdePkg: DebugAssert enhancement

If the assert happens in a library, then it's hard to determine which
module using that library is generating that assert.  Use gEfiCallerBaseName
in DebugAssert to display the module name.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19127 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
MdePkg/Library/UefiDebugLibConOut/DebugLib.c
MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c
MdePkg/Library/UefiDebugLibStdErr/DebugLib.c