summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-03-15 00:04:08 +0000
committerRui Ueyama <ruiu@google.com>2014-03-15 00:04:08 +0000
commitcec949af13c639887abaa119ba32251bb357c7c5 (patch)
tree94c029f54b3fe7630d53332ab236f73fafcfbd37 /clang/lib/Frontend/InitPreprocessor.cpp
parent26c1fe356801a966945e858b699cd7b1e85c83af (diff)
downloadbcm5719-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 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud