Revision: 19649
          http://sourceforge.net/p/edk2/code/19649
Author:   yzhu52
Date:     2016-01-18 01:42:20 +0000 (Mon, 18 Jan 2016)
Log Message:
-----------
BaseTools: Fix GenPatchPcdTable to support '-' characters in file names

The Regular Expression parsing of lines in MAP files does not currently
support the use of '-' in the column for the filename the symbol is
sources from, it cause a build break from the GenPatchPcdTable.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py

Modified: 
trunk/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py
===================================================================
--- trunk/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py     
2016-01-15 17:05:18 UTC (rev 19648)
+++ trunk/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py     
2016-01-18 01:42:20 UTC (rev 19649)
@@ -37,7 +37,7 @@
 
 #============================================== Code 
===============================================
 secRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\da-fA-F]+)[Hh]? 
+([.\w\$]+) +(\w+)', re.UNICODE)
-symRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\.:\\\\\w\?@\$]+) 
+([\da-fA-F]+)', re.UNICODE)
+symRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\.\-:\\\\\w\?@\$]+) 
+([\da-fA-F]+)', re.UNICODE)
 
 def parsePcdInfoFromMapFile(mapfilepath, efifilepath):
     """ Parse map file to get binary patch pcd information 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to