diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-03-15 00:04:08 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-03-15 00:04:08 +0000 |
| commit | cec949af13c639887abaa119ba32251bb357c7c5 (patch) | |
| tree | 94c029f54b3fe7630d53332ab236f73fafcfbd37 /llvm/lib/AsmParser/LLParser.cpp | |
| parent | 26c1fe356801a966945e858b699cd7b1e85c83af (diff) | |
| download | bcm5719-llvm-cec949af13c639887abaa119ba32251bb357c7c5.tar.gz bcm5719-llvm-cec949af13c639887abaa119ba32251bb357c7c5.zip | |
Object/COFF: change data type of SymbolNumber from int16 to uint16.
Microsoft PE/COFF Spec clearly states that the field is of signed interger
type. However, in reality, it's unsigned. If cl.exe needs to create a large
number of sections for COMDAT sections, it will just create more than 32768
sections. Handling large section number as negative number is not correct.
I think this is a spec bug.
Differential Revision: http://llvm-reviews.chandlerc.com/D3088
llvm-svn: 203986
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
0 files changed, 0 insertions, 0 deletions

