summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Pci
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-12-28 16:18:06 +0800
committerLiming Gao <liming.gao@intel.com>2019-01-08 09:59:30 +0800
commit9248a4717a9e269670be964b56bc1a1219cae2b2 (patch)
treed63367afa045c65b47dc2f4e12712ab52992881d /MdeModulePkg/Bus/Pci
parent4ec00f82edc845548a2000fe514c6898932b8c95 (diff)
downloadedk2-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 'MdeModulePkg/Bus/Pci')
0 files changed, 0 insertions, 0 deletions