]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFrameworkModulePkg: DebugAssert enhancement
authorBaraneedharan Anbazhagan <anbazhagan@hp.com>
Mon, 7 Dec 2015 03:06:58 +0000 (03:06 +0000)
committerlgao4 <lgao4@Edk2>
Mon, 7 Dec 2015 03:06:58 +0000 (03:06 +0000)
commit1ffe7cc56281fda7c714d32d569b533925d37ede
tree005a39be60ff0fc2d2bd8b411cb7135bbebba6c5
parent39eccb9c66be7329eaf564d18f8f3cfb9add82e9
IntelFrameworkModulePkg: 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.

In V2: Updated patch to use CopyMem instead of AsciiSPrint.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19129 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c