diff options
author | Yunhua Feng <yunhuax.feng@intel.com> | 2018-05-07 18:26:24 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-05-10 08:36:00 +0800 |
commit | 6b285ca3663d3c71cc68d01684a98f0d7537885e (patch) | |
tree | 3340c6ef5784e57b3f9e3567a489b8f5dea34694 /BaseTools/Source/Python/AutoGen/UniClassObject.py | |
parent | 1dc287c3a3f1f090ef6b8ff80f7b3b3725071471 (diff) | |
download | edk2-6b285ca3663d3c71cc68d01684a98f0d7537885e.tar.gz edk2-6b285ca3663d3c71cc68d01684a98f0d7537885e.tar.bz2 edk2-6b285ca3663d3c71cc68d01684a98f0d7537885e.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/UniClassObject.py')
0 files changed, 0 insertions, 0 deletions