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
..
2010-05-18 05:04:32 +00:00
2018-05-04 13:08:09 +08:00
2018-05-04 13:03:01 +08:00
2018-05-10 08:36:00 +08:00
2018-05-04 13:07:56 +08:00
2018-04-26 14:43:25 +08:00
2018-05-04 13:07:34 +08:00
2018-05-04 13:08:09 +08:00
2018-05-04 13:03:11 +08:00
2018-05-04 13:03:11 +08:00
2018-03-30 08:25:13 +08:00
2018-05-04 13:03:03 +08:00
2018-05-04 13:07:34 +08:00