diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-16 17:39:26 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-16 17:39:26 +0000 |
commit | e0e28d059bac3ef430b918f25a6eb117ec8b5caa (patch) | |
tree | d80db1adf38eed129b3fb75c0b1d028d2b90c493 /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | |
parent | d5e4f637efbd9a7467890d64c39a822b2d6e125c (diff) | |
download | bcm5719-llvm-e0e28d059bac3ef430b918f25a6eb117ec8b5caa.tar.gz bcm5719-llvm-e0e28d059bac3ef430b918f25a6eb117ec8b5caa.zip |
[PECOFF] Take into account all sections when setting size fields in the PE header
This patch changes lld to go through all sections while calculating the size
for SizeOfCode, SizeOfInitializedData and SizeOfUninitializedData fields in the
PE header, instead of using only a small set of hard-coded sections.
This only really changes SizeOfInitializedData which didn't include .reloc
section before this patch.
Patch by Ron Ofir.
llvm-svn: 190799
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions