commit | 01ea611601c7dc2e510d53b14848f4843a67bc22 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Sep 26 22:32:16 2014 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Sep 26 22:32:16 2014 +0000 |
tree | 421fb12a93cab4993b31fb4181c2f316820d9948 | |
parent | a51dbbd3943eb2f78d4013aa1c13e6cc13a8c71e [diff] |
Object: BSS/virtual sections don't have contents Users of getSectionContents shouldn't try to pass in BSS or virtual sections. In all instances, this is a bug in the code calling this routine. N.B. Some COFF implementations (like CL) will mark their BSS sections as taking space on disk. This would confuse COFFObjectFile into thinking the section is larger than the file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218549 91177308-0d34-0410-b5e6-96231b3b80d8