Yunhua Feng
6b285ca366
BaseTools: Fix generating array's size is incorrect in AutoGen.c
case example:
DSC:
[PcdsFixedAtBuild]
PcdToken.PcdName | "A"
[Components]
TestPkg/TestDriver.inf {
PcdToken.PcdName | {0x41,0x42,0x43,0x44}
}
Generating the size of array is incorrect in AutoGen.c
GLOBAL_REMOVE_IF_UNREFERENCED const UINT8
_gPcd_FixedAtBuild_PcdName[2] = {0x41,0x42,0x43,0x44};
Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=950
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-05-10 08:36:00 +08:00
..
2018-05-10 08:36:00 +08:00
2018-04-18 22:15:36 +08:00
2018-05-04 13:08:09 +08:00
2018-05-04 13:08:09 +08:00
2018-04-26 14:44:36 +08:00
2018-05-06 20:08:38 +08:00
2018-05-04 13:03:02 +08:00
2018-05-10 08:33:20 +08:00
2018-05-04 13:07:55 +08:00
2018-04-23 11:11:20 +08:00
2017-04-27 21:19:29 +08:00
2018-04-17 20:49:32 +08:00
2015-12-01 04:22:16 +00:00
2018-04-18 22:15:36 +08:00
2018-05-02 15:01:43 +08:00
2018-04-10 10:05:16 +08:00
2018-05-07 15:24:30 +08:00
2013-08-23 02:18:16 +00:00
2018-05-02 15:02:24 +08:00
2014-08-28 13:53:34 +00:00