REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3840
1. Use DEBUG_FILE to control ASSERT path 2. Default use file name as ASSERT path Motivation and Goal: 1. The path will occupy many size in DEBUG build when file path is long 2. We hope can reduce the size but not impact the debug capability 3. If only use filename, we can search the filename to locate file. It can save many size meanwhile. Guomin Jiang (2): BaseTools/Conf: Reduce the ASSERT patch to save the binary size MdePkg/Include: Define new DEBUG_FILE to specify path. BaseTools/Conf/build_rule.template | 10 ++++---- MdePkg/Include/Library/DebugLib.h | 39 +++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 16 deletions(-) -- 2.35.1.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86746): https://edk2.groups.io/g/devel/message/86746 Mute This Topic: https://groups.io/mt/89225319/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-