diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-12-28 16:18:06 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-01-08 09:59:30 +0800 |
commit | 9248a4717a9e269670be964b56bc1a1219cae2b2 (patch) | |
tree | d63367afa045c65b47dc2f4e12712ab52992881d /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 4ec00f82edc845548a2000fe514c6898932b8c95 (diff) | |
download | edk2-9248a4717a9e269670be964b56bc1a1219cae2b2.tar.gz edk2-9248a4717a9e269670be964b56bc1a1219cae2b2.tar.bz2 edk2-9248a4717a9e269670be964b56bc1a1219cae2b2.zip |
BaseTools/VfrCompile: report error for Integer overflow
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1415
When an integer constant specified in the .vfr file is
too large for the varstore field it is being used with,
the VFR compiler reports an overflow warning like this:
Test.vfr(693): WARNING: Overflow: Value 1024 is too large to
store in a UINT8
: String to UINT* Overflow
Since Warning does not break the build process,
and it is easy to miss it.
This patch is to update the code to report error and break
the build if meet this kind of issue.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
0 files changed, 0 insertions, 0 deletions