llvm-6502/lib
David Majnemer 5b1b9844e7 Object, COFF: Cap the section contents to min(VirtualSize, SizeOfRawData)
It is not useful to return the data beyond VirtualSize it's less than
SizeOfRawData.

An implementation detail of COFF requires the section size to be rounded
up to a multiple of FileAlignment; this means that SizeOfRawData is not
representative of how large the section is.  Instead, we should cap it
to VirtualSize when this occurs as it represents the true size of the
section.

Note that this is only relevant in executable files because this
rounding doesn't occur in object files (and VirtualSize is always zero).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219388 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-09 07:49:28 +00:00
..
Analysis
AsmParser
Bitcode
CodeGen Remove more calls to getSubtargetImpl from the schedulers and 2014-10-09 06:28:06 +00:00
DebugInfo Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
ExecutionEngine Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
IR DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself. 2014-10-07 16:56:20 +00:00
IRReader
LineEditor
Linker
LTO
MC Fix COFF section index relocation should be 16 bits, not 32 2014-10-08 18:01:49 +00:00
Object Object, COFF: Cap the section contents to min(VirtualSize, SizeOfRawData) 2014-10-09 07:49:28 +00:00
Option
ProfileData Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
Support Revert r219354. It seems to break some buildbots. 2014-10-08 23:07:59 +00:00
TableGen
Target Use triple's isiOS() and isOSDarwin() methods. 2014-10-09 05:43:30 +00:00
Transforms Use triple's isiOS() and isOSDarwin() methods. 2014-10-09 05:43:30 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile